fix(helm): helm chart extraVolumeMounts and extraVolumes indentation

This commit is contained in:
Ingmar Delsink 2023-03-21 15:21:08 +01:00
parent fd23800370
commit d2c5cbbcaa
No known key found for this signature in database
GPG Key ID: 6BFF495F6EF46E6E
2 changed files with 12 additions and 12 deletions

View File

@ -74,9 +74,9 @@ spec:
secret: secret:
secretName: {{ .Values.emqxLicenseSecretName }} secretName: {{ .Values.emqxLicenseSecretName }}
{{- end }} {{- end }}
{{- if .Values.extraVolumes }} {{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }} {{- toYaml .Values.extraVolumes | nindent 6 }}
{{- end }} {{- end }}
{{- if .Values.podSecurityContext.enabled }} {{- if .Values.podSecurityContext.enabled }}
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }} securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }} {{- end }}
@ -141,9 +141,9 @@ spec:
subPath: "emqx.lic" subPath: "emqx.lic"
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if .Values.extraVolumeMounts }} {{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }} {{- toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }} {{- end }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /status path: /status

View File

@ -74,9 +74,9 @@ spec:
secret: secret:
secretName: {{ .Values.emqxLicenseSecretName }} secretName: {{ .Values.emqxLicenseSecretName }}
{{- end }} {{- end }}
{{- if .Values.extraVolumes }} {{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }} {{- toYaml .Values.extraVolumes | nindent 6 }}
{{- end }} {{- end }}
{{- if .Values.podSecurityContext.enabled }} {{- if .Values.podSecurityContext.enabled }}
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }} securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }} {{- end }}
@ -141,9 +141,9 @@ spec:
subPath: "emqx.lic" subPath: "emqx.lic"
readOnly: true readOnly: true
{{- end }} {{- end }}
{{- if .Values.extraVolumeMounts }} {{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }} {{- toYaml .Values.extraVolumeMounts | nindent 10 }}
{{- end }} {{- end }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /status path: /status