1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-25 20:59:28 +01:00

fix: add imagePullSecrets for deployment resource

Signed-off-by: emin.aktas <eminaktas34@gmail.com>
Co-authored-by: yasintahaerol <yasintahaerol@gmail.com>
Co-authored-by: Dentrax <furkan.turkal@trendyol.com>
This commit is contained in:
emin.aktas
2022-02-07 18:05:15 +03:00
parent deaa314492
commit ff1954b32e
2 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ spec:
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
serviceAccountName: {{ template "descheduler.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 10 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (printf "v%s" .Chart.AppVersion) }}"

View File

@@ -11,7 +11,8 @@ image:
tag: ""
pullPolicy: IfNotPresent
imagePullSecrets: []
imagePullSecrets:
# - name: container-registry-secret
resources:
requests: