Skip to content

Commit

Permalink
feat(helm): support optional image registry in template rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
liglig999 authored Jan 16, 2025
1 parent 1bb422c commit eea1176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vaultwarden/templates/_podSpec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eea1176

Please sign in to comment.