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 <mat.plourde@gmail.com>

Co-authored-by: Unknown <mathieu.plourde@ubisoft.com>
This commit is contained in:
Mathieu Plourde
2020-06-17 04:46:39 -07:00
committed by GitHub
co-authored by Unknown
parent 65f4640a25
commit b7fcb5246d
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+4 -4
View File
@@ -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 }}