Open DARB-CCM-S-20 opened 1 year ago
There is some hack to enable imagePullSecrets
Define in postgresql-operator-default-configuration.yaml
kubernetes: pod_service_account_definition: '{ "apiVersion": "v1", "kind": "ServiceAccount", "metadata": { "name": "postgres-pod" }, "imagePullSecrets": [ { "name": "secret" } ] }
I just did came across with this problem, this just prevents zalando operator from being used in private registries. Any news about this? I just assumed that it would use the image.imagePullSecrets for all docker images from the chart but it was not the case.
+1, Is there any way to set the imagePullSecret if we are using custom spilo images?
Please, answer some short questions which should help us to understand your problem / question better?
When override the default spilo
docker_image
parameter there is no option to provide anyimagePullSecrets
for fetching this image. As a result, if you try to pull from a private registry then the Postgres pods end up in ImagePullBackOff