Prevent helm from adding meaningless blank lines to kubernetes objects YAML (#1065)
This commit is contained in:
committed by
Ta-Ching Chen
parent
3c4fdb0659
commit
2efa255eb4
@@ -7,12 +7,12 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-fission-fluentd
|
||||
data:
|
||||
{{ if .Files.Get "config/fluentd.conf" }}
|
||||
{{- if .Files.Get "config/fluentd.conf" }}
|
||||
td-agent.conf: |
|
||||
{{ .Files.Get "config/fluentd.conf" | indent 3 }}
|
||||
{{ else }}
|
||||
{{ fail "invalid chart" }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: DaemonSet
|
||||
|
||||
Reference in New Issue
Block a user