From eea11768641a89038cd1cf2678c1a2a13b19652f Mon Sep 17 00:00:00 2001 From: Nicklas Geerken <165771553+liglig999@users.noreply.github.com> Date: Thu, 16 Jan 2025 17:44:29 +0100 Subject: [PATCH] feat(helm): support optional image registry in template rendering --- charts/vaultwarden/templates/_podSpec.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/vaultwarden/templates/_podSpec.tpl b/charts/vaultwarden/templates/_podSpec.tpl index 9991800..515d51e 100644 --- a/charts/vaultwarden/templates/_podSpec.tpl +++ b/charts/vaultwarden/templates/_podSpec.tpl @@ -27,7 +27,7 @@ initContainers: enableServiceLinks: false {{- end }} containers: - - image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} + - image: {{ if .Values.image.registry }}{{ .Values.image.registry }}/{{ end }}{{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} name: vaultwarden envFrom: