diff --git a/deployment/network-operator/templates/operator.yaml b/deployment/network-operator/templates/operator.yaml index b6e740925..90bd6a513 100644 --- a/deployment/network-operator/templates/operator.yaml +++ b/deployment/network-operator/templates/operator.yaml @@ -44,7 +44,10 @@ spec: {{- end }} serviceAccountName: {{ include "network-operator.fullname" . }} {{- if .Values.operator.imagePullSecrets }} - imagePullSecrets: {{ toYaml .Values.operator.imagePullSecrets | indent 8 }} + imagePullSecrets: + {{- range .Values.operator.imagePullSecrets }} + - name: {{ . }} + {{- end }} {{- end }} containers: - name: {{ .Chart.Name }}