Merge pull request #10193 from idelsink/master

fix(helm): helm chart extraVolumeMounts and extraVolumes indentation
This commit is contained in:
Ivan Dyachkov 2023-03-22 08:38:11 +00:00 committed by GitHub
commit bd9ba0debe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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