Skip to content

Commit

Permalink
reuse registry-init
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Jul 18, 2024
1 parent a4c22b8 commit c2faf64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions config/serverless/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c2faf64

Please sign in to comment.