feat(helm): add image pull secret for private registries
This commit is contained in:
parent
38c28dc73f
commit
4187512f88
6 changed files with 26 additions and 4 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Reference in a new issue