refactor(deploy): use external (hand-made) image pull secret
This commit is contained in:
parent
b0437179d0
commit
daedf8af04
5 changed files with 8 additions and 23 deletions
|
|
@ -29,8 +29,10 @@ spec:
|
|||
app.kubernetes.io/component: "backend-api"
|
||||
spec:
|
||||
automountServiceAccountToken: false
|
||||
{{- with .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
- name: {{ .Release.Name }}-pull-secret
|
||||
{{ toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
|
|
|||
Reference in a new issue