From 25976f65022a1fe9f1498492a6fc6392bba85dd0 Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhnyi Date: Mon, 30 Aug 2021 09:27:35 +0300 Subject: [PATCH] Fix imagePullSecrets for Network Operator Network Operator has different format for imagePullSecrets rather than other components. This patch fixes it. Upgrade notice: you need to update your values.yaml file manuallty if you use imagePullSecrets with old format. Signed-off-by: Ivan Kolodiazhnyi --- deployment/network-operator/templates/operator.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }}