diff --git a/config/serverless/charts/docker-registry/templates/deployment.yaml b/config/serverless/charts/docker-registry/templates/deployment.yaml index 2a1410efe..ba4d56387 100644 --- a/config/serverless/charts/docker-registry/templates/deployment.yaml +++ b/config/serverless/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.tpiContainerRegistry "img" .Values.global.images.registry) }}" + image: "{{ include "imageurl" (dict "reg" .Values.global.tpiContainerRegistry "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/serverless/values.yaml b/config/serverless/values.yaml index 34e232200..0dfec5e42 100644 --- a/config/serverless/values.yaml +++ b/config/serverless/values.yaml @@ -82,6 +82,10 @@ global: name: "function-build-init" version: "main" directory: "prod" + registry_init: # https://github.com/kyma-project/docker-registry/tree/main/components/registry-init + name: "registry-init" + version: "v20240506-57d31b1d" + directory: "prod" function_runtime_nodejs18: name: "function-runtime-nodejs18" version: "main"