1995 | fix indentation value in helm deployment templates (#2004)

Co-authored-by: shakti-garg <shakti.garg@gmail.com>
This commit is contained in:
shakti-garg-saxo 2020-11-17 20:59:59 +05:30 committed by GitHub
parent f5891a733a
commit 1351de4599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 12 deletions

View File

@ -23,7 +23,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
volumes:
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
@ -58,11 +58,11 @@ spec:
- name: DATAHUB_PLAY_MEM_BUFFER_SIZE
value: "{{ .Values.datahub.play.mem.buffer.size }}"
{{- if .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 10 }}
{{ toYaml .Values.extraEnvs | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 10 }}
{{ toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -33,7 +33,7 @@ spec:
secretName: {{ .Values.global.credentialsAndCertsSecrets.name }}
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
@ -94,7 +94,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 10 }}
{{ toYaml .Values.extraEnvs | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.global.credentialsAndCertsSecrets }}
@ -102,7 +102,7 @@ spec:
mountPath: {{ .Values.global.credentialsAndCertsSecretPath | default "/mnt/certs" }}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 10 }}
{{ toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -33,7 +33,7 @@ spec:
secretName: {{ .Values.global.credentialsAndCertsSecrets.name }}
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
@ -77,7 +77,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 10 }}
{{ toYaml .Values.extraEnvs | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.global.credentialsAndCertsSecrets }}
@ -85,7 +85,7 @@ spec:
mountPath: {{ .Values.global.credentialsAndCertsSecretPath | default "/mnt/certs" }}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 10 }}
{{ toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -33,7 +33,7 @@ spec:
secretName: {{ .Values.global.credentialsAndCertsSecrets.name }}
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
@ -66,7 +66,7 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvs }}
{{ toYaml .Values.extraEnvs | indent 10 }}
{{ toYaml .Values.extraEnvs | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.global.credentialsAndCertsSecrets }}
@ -74,7 +74,7 @@ spec:
mountPath: {{ .Values.global.credentialsAndCertsSecretPath | default "/mnt/certs" }}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 10 }}
{{ toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}