From b7fcb5246dfb46eb071960fed34ec30bd7df4136 Mon Sep 17 00:00:00 2001 From: Mathieu Plourde Date: Wed, 17 Jun 2020 07:46:39 -0400 Subject: [PATCH] Move "imagePullSecrets" to the right indentation level (#22802) "imagePullSecrets" should be at the same indentation level as "containers", not under it. Signed-off-by: Mathieu Plourde Co-authored-by: Unknown --- stable/mssql-linux/Chart.yaml | 2 +- stable/mssql-linux/templates/deployment.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stable/mssql-linux/Chart.yaml b/stable/mssql-linux/Chart.yaml index 294f78da61..7a6d8fb7e2 100644 --- a/stable/mssql-linux/Chart.yaml +++ b/stable/mssql-linux/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: SQL Server 2017 Linux Helm Chart name: mssql-linux -version: 0.11.1 +version: 0.11.2 appVersion: 14.0.3023.8 home: https://hub.docker.com/r/microsoft/mssql-server-linux/ icon: https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1I4Dx diff --git a/stable/mssql-linux/templates/deployment.yaml b/stable/mssql-linux/templates/deployment.yaml index 255c813d97..ac886dc093 100755 --- a/stable/mssql-linux/templates/deployment.yaml +++ b/stable/mssql-linux/templates/deployment.yaml @@ -39,10 +39,6 @@ spec: containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" - {{- if .Values.image.pullSecrets }} - imagePullSecrets: - {{ toYaml .Values.image.pullSecrets | indent 10 }} - {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: ACCEPT_EULA @@ -105,6 +101,10 @@ spec: periodSeconds: {{ .Values.readinessprobe.periodSeconds }} resources: {{ toYaml .Values.resources | indent 12 }} + {{- if .Values.image.pullSecrets }} + imagePullSecrets: +{{ toYaml .Values.image.pullSecrets | indent 8 }} + {{- end }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }}