diff --git a/charts/redis-operator/templates/operator-deployment.yaml b/charts/redis-operator/templates/operator-deployment.yaml index eb05d945d..1a2b8d07a 100644 --- a/charts/redis-operator/templates/operator-deployment.yaml +++ b/charts/redis-operator/templates/operator-deployment.yaml @@ -22,6 +22,10 @@ spec: {{- end }} spec: automountServiceAccountToken: {{ .Values.redisOperator.automountServiceAccountToken }} + {{- if .Values.redisOperator.imagePullSecrets }} + imagePullSecrets: + {{- toYaml .Values.redisOperator.imagePullSecrets | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: @@ -78,4 +82,4 @@ spec: secret: defaultMode: 420 secretName: {{ .Values.certificate.secretName }} - {{- end }} \ No newline at end of file + {{- end }}