mirror of
https://github.com/enix/x509-certificate-exporter.git
synced 2026-08-18 19:47:28 +00:00
fix(chart): render extraDeploy document separators lint-clean
This commit is contained in:
committed by
Thibault VINCENT
parent
b2a973e598
commit
647ce98f16
+17
-10
@@ -1,16 +1,23 @@
|
||||
{{/*
|
||||
Each entry renders as its own YAML document. The document separator
|
||||
must be followed by a real newline: `{{-` on the emitting action would
|
||||
chomp it and glue the manifest onto `---` (helm template/install paper
|
||||
over that by re-splitting documents, but helm lint parses the raw
|
||||
stream and rejects it).
|
||||
*/}}
|
||||
{{- range .Values.extraDeploy }}
|
||||
---
|
||||
{{- if typeIs "string" . }}
|
||||
{{- tpl . $ }}
|
||||
{{- else }}
|
||||
{{- tpl (. | toYaml) $ }}
|
||||
{{- end }}
|
||||
{{ if typeIs "string" . -}}
|
||||
{{ tpl . $ }}
|
||||
{{- else -}}
|
||||
{{ tpl (. | toYaml) $ }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .Values.extraDeployVerbatim }}
|
||||
---
|
||||
{{- if typeIs "string" . }}
|
||||
{{- . }}
|
||||
{{- else }}
|
||||
{{- . | toYaml }}
|
||||
{{- end }}
|
||||
{{ if typeIs "string" . -}}
|
||||
{{ . }}
|
||||
{{- else -}}
|
||||
{{ . | toYaml }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user