Troubleshooting: Store Preview feature fails with Kubernetes deployment
After deploying HCL Commerce 9.1.12.0 via the Helm Chart, the Store
Preview feature fails to load for React-based storefronts (Emerald and
Sapphire).
Problem
After deploying HCL Commerce 9.1.12.0 onto a Kubernetes cluster via the Helm Chart, the Store Preview feature fails to load for React-based storefronts (Emerald and Sapphire).
Solution
- This issue is resolved in subsequent releases. Deploy HCL Commerce 9.1.13.0 or greater.
- If a newer release is not yet available, manually correct the issue:
- Ensure that the EXTERNAL_DOMAIN_NAME Vault key
value is set. It can be found at the following path.
For example,VAULT_URL/TENANT/ENVIRONMENT/externalDomainName
mycompany.com
. - Modify the HCL Commerce 9.1.12.0 Helm Chart.
- Open the store-web.yaml Helm Chart template.
- Locate the
env
section. - Add the following
lines.
- name: "CONFIGURE_MODE" value: {{ $.Values.common.configureMode | quote }}
- Save and close the file.
- Redeploy HCL Commerce.
- Ensure that the EXTERNAL_DOMAIN_NAME Vault key
value is set. It can be found at the following path.
Result
The Store Preview feature functions as anticipated.