Fix system-log Kafka Vault template newlines
This commit is contained in:
parent
a4f1949193
commit
722fe996d6
@ -39,8 +39,8 @@ spec:
|
||||
KAFKA_USERNAME={{ index .Data.data "username" }}
|
||||
KAFKA_PASSWORD={{ index .Data.data "password" }}
|
||||
KAFKA_BROKERS={{ index .Data.data.auth "bootstrap_servers" }}
|
||||
{{- $topics := index .Data.data "topics" -}}
|
||||
KAFKA_TOPIC={{- if gt (len $topics) 0 -}}{{ index (index $topics 0) "name" }}{{- else -}}system-log.events{{- end -}}
|
||||
{{ $topics := index .Data.data "topics" }}
|
||||
KAFKA_TOPIC={{ if gt (len $topics) 0 }}{{ index (index $topics 0) "name" }}{{ else }}system-log.events{{ end }}
|
||||
{{- end -}}
|
||||
spec:
|
||||
serviceAccountName: system-log-vault
|
||||
|
||||
Loading…
Reference in New Issue
Block a user