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_USERNAME={{ index .Data.data "username" }}
|
||||||
KAFKA_PASSWORD={{ index .Data.data "password" }}
|
KAFKA_PASSWORD={{ index .Data.data "password" }}
|
||||||
KAFKA_BROKERS={{ index .Data.data.auth "bootstrap_servers" }}
|
KAFKA_BROKERS={{ index .Data.data.auth "bootstrap_servers" }}
|
||||||
{{- $topics := index .Data.data "topics" -}}
|
{{ $topics := index .Data.data "topics" }}
|
||||||
KAFKA_TOPIC={{- if gt (len $topics) 0 -}}{{ index (index $topics 0) "name" }}{{- else -}}system-log.events{{- end -}}
|
KAFKA_TOPIC={{ if gt (len $topics) 0 }}{{ index (index $topics 0) "name" }}{{ else }}system-log.events{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: system-log-vault
|
serviceAccountName: system-log-vault
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user