From a86b757e73265ee03981ffac696481b8c965f56c Mon Sep 17 00:00:00 2001 From: Jan Nemcik Date: Tue, 17 Dec 2024 23:07:15 +0100 Subject: [PATCH] added missing nindent arg in imagePullSecrets --- charts/kor/templates/deployment.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/kor/templates/deployment.yaml b/charts/kor/templates/deployment.yaml index 7b21a59a..ea633d0f 100644 --- a/charts/kor/templates/deployment.yaml +++ b/charts/kor/templates/deployment.yaml @@ -7,10 +7,6 @@ metadata: {{- include "kor.labels" . | nindent 4 }} app: {{ .Values.prometheusExporter.name }} spec: - {{- with .Values.prometheusExporter.deployment.imagePullSecrets }} - imagePullSecrets: - {{- toYaml . | nindent 4 }} - {{- end }} replicas: {{ .Values.prometheusExporter.deployment.replicaCount | default 1 }} selector: matchLabels: @@ -20,7 +16,11 @@ spec: labels: {{- include "kor.labels" . | nindent 8 }} app: {{ .Values.prometheusExporter.name }} - spec: + spec: + {{- with .Values.prometheusExporter.deployment.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} serviceAccountName: {{ include "kor.serviceAccountName" . }} containers: - name: "{{ .Values.prometheusExporter.name }}-container"