Fix deployments of front and back and set where in the values it get the secret to pull image

This commit is contained in:
dvirlabs 2026-03-22 10:17:13 +02:00
parent 727848538f
commit 6e772cfb27
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ spec:
{{- include "tasko.selectorLabels" . | nindent 8 }} {{- include "tasko.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: backend app.kubernetes.io/component: backend
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}

View File

@ -21,7 +21,7 @@ spec:
{{- include "tasko.selectorLabels" . | nindent 8 }} {{- include "tasko.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: frontend app.kubernetes.io/component: frontend
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}