Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Move "imagePullSecrets" to the right indentation level (#22802)
Browse files Browse the repository at this point in the history
"imagePullSecrets" should be at the same indentation level as "containers", not under it.

Signed-off-by: Mathieu Plourde <[email protected]>

Co-authored-by: Unknown <[email protected]>
  • Loading branch information
matpl and Unknown authored Jun 17, 2020
1 parent 65f4640 commit b7fcb52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/mssql-linux/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions stable/mssql-linux/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit b7fcb52

Please sign in to comment.