1
0
Fork 0

feat(helm): add image pull secret for private registries

This commit is contained in:
Vojtěch Mareš 2023-07-03 21:30:33 +02:00
parent 38c28dc73f
commit 4187512f88
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
6 changed files with 26 additions and 4 deletions

View file

@ -11,9 +11,9 @@ spec:
app.kubernetes.io/instance: {{ .Release.Name }}
template:
spec:
{{- with .Values.imagePullSecrets }}
{{- if .Values.dockerconfigjsonBase64 }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
- name: {{ .Release.Name }}-container-registry
{{- end }}
containers:
- name: {{ .Chart.Name }}