diff --git a/config/docker-registry/charts/docker-registry/templates/deployment.yaml b/config/docker-registry/charts/docker-registry/templates/deployment.yaml index b84dae69..d40b02ac 100644 --- a/config/docker-registry/charts/docker-registry/templates/deployment.yaml +++ b/config/docker-registry/charts/docker-registry/templates/deployment.yaml @@ -47,7 +47,7 @@ spec: hostIPC: false # Optional. The default is false if the entry is not there. initContainers: - name: generate-htpasswd - image: "{{ include "imageurl" (dict "reg" .Values.global.containerRegistry "img" .Values.global.images.registry-init) }}" + image: "{{ include "imageurl" (dict "reg" .Values.global.containerRegistry "img" .Values.global.images.registry_init) }}" {{- if .Values.initContainers.securityContext }} securityContext: {{- include "tplValue" ( dict "value" .Values.initContainers.securityContext "context" . ) | nindent 12 }} diff --git a/config/docker-registry/values.yaml b/config/docker-registry/values.yaml index 10211515..17b94830 100644 --- a/config/docker-registry/values.yaml +++ b/config/docker-registry/values.yaml @@ -13,7 +13,7 @@ global: name: "registry" version: "2.8.3" directory: "prod/external" - registry-init: + registry_init: name: "registry-init" version: "v20240506-57d31b1d" directory: "prod"