Skip to content

Using ImagePullSecrets

To use a container image registry that has access restrictions and requires credentials, you need to leverage ImagePullSecrets in your deployment. Refer to the Kubernetes Documentation for additional information on this topic.

Tip

Ensure that you create the ImagePullSecret in the same namespace that your DX Compose deployment is installed to.

In order for the HCL Digital Experience Compose 9.5 deployment to leverage ImagePullSecrets you need to adjust your custom-values.yaml file to include the following syntax:

images:
 imagePullSecrets:
 - name: regcred         

The name regcred can be different, depending on how you have created your ImagePullSecret and how it is named. Ensure that you reference the correct name in the configuration.

It is assumed that you have moved the HCL Digital Experience Compose 9.5 images to your registry; make sure it is also configured properly in your custom-values.yaml:

images:
  repository: "your-repo:port"                

All pods created now have that secret configured for pulling DX Compose container images.