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
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]>
  • Loading branch information
Unknown committed Jun 15, 2020
1 parent a73ee43 commit 4b73f38
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 4b73f38

Please sign in to comment.