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

@ -12,6 +12,10 @@ spec:
activeDeadlineSeconds: 120 # 2 minutes
template:
spec:
{{- if .Values.dockerconfigjsonBase64 }}
imagePullSecrets:
- name: {{ .Release.Name }}-container-registry
{{- end }}
containers:
- name: {{ .Chart.Name }}-seed
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"