1
0
Fork 0

refactor(deploy): use external (hand-made) image pull secret

This commit is contained in:
Vojtěch Mareš 2024-06-25 07:33:35 +02:00
parent b0437179d0
commit daedf8af04
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
5 changed files with 8 additions and 23 deletions

View file

@ -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 }}"