From 180405929c44a4d894905a5cc486840b8f8522b6 Mon Sep 17 00:00:00 2001 From: tgfree <tgfree7@gmail.com> Date: Wed, 22 Jun 2022 15:47:14 +0800 Subject: [PATCH] FIX: imagePullSecrets setting error Signed-off-by: tgfree <tgfree7@gmail.com> (cherry picked from commit 065a69d34232e5cceff8b698e5f12ffe3b9f4e50) --- .../chart/local-path-provisioner/templates/serviceaccount.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/chart/local-path-provisioner/templates/serviceaccount.yaml b/deploy/chart/local-path-provisioner/templates/serviceaccount.yaml index aed111e6..9218b845 100644 --- a/deploy/chart/local-path-provisioner/templates/serviceaccount.yaml +++ b/deploy/chart/local-path-provisioner/templates/serviceaccount.yaml @@ -5,8 +5,8 @@ metadata: name: {{ template "local-path-provisioner.serviceAccountName" . }} labels: {{ include "local-path-provisioner.labels" . | indent 4 }} -{{- with .Values.imagePullSecrets }} imagePullSecrets: +{{- with .Values.imagePullSecrets }} {{- toYaml . | nindent 2 }} {{- end }} {{- if .Values.defaultSettings.registrySecret }} -- GitLab