op-scim-helm icon indicating copy to clipboard operation
op-scim-helm copied to clipboard

ImagePullSecrets wrong indentation/spec

Open xTrekStorex opened this issue 9 months ago • 0 comments

What happened?

We use a custom container registry to avoid things like loss of images or rate limiting of docker hub etc. As such we override imageRepository & imagePullSecrets.

imagePullSecrets can be set but has no effect, while imageRepository is set as part of container image correctly. The pod goes into imagePullBackoff - 401 Unauthorized.

The deployment template puts it as .spec.template.spec.containers/0/imagePullSecrets, but imagePullSecrets is part of the pod template, same as volumes, under .spec.template.spec.imagePullSecrets

What did you expect to happen?

imagePullSecrets gets set in the pod and the image is pulled successfully.

xTrekStorex avatar Jul 31 '25 10:07 xTrekStorex