mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Merge pull request #1722 from fzamperin/master
Fix externalClickhouse password secret
This commit is contained in:
commit
3f8c62747a
@ -123,26 +123,26 @@ metadata:
|
||||
annotations:
|
||||
"helm.sh/resource-policy": "keep"
|
||||
type: Opaque
|
||||
data:
|
||||
stringData:
|
||||
key: "clickhouse"
|
||||
|
||||
{{- if $.Values.externalClickhouse.password }}
|
||||
## Add secret here for clickhousePassword
|
||||
password: {{ $.Values.externalClickhouse.password | b64enc | quote }}
|
||||
password: {{ $.Values.externalClickhouse.password | quote }}
|
||||
{{- end }}
|
||||
|
||||
## Add TLS secret here for clickhouse
|
||||
{{- if $.Values.externalClickhouse.tls.enabled -}}
|
||||
{{- if $.Values.externalClickhouse.tls.ca }}
|
||||
tls-ca: {{ printf "%s" $.Values.externalClickhouse.tls.ca | b64enc | quote }}
|
||||
tls-ca: {{ printf "%s" $.Values.externalClickhouse.tls.ca | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if $.Values.externalClickhouse.tls.cert }}
|
||||
tls-cert: {{ printf "%s" $.Values.externalClickhouse.tls.cert | b64enc | quote }}
|
||||
tls-cert: {{ printf "%s" $.Values.externalClickhouse.tls.cert | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if $.Values.externalClickhouse.tls.key }}
|
||||
tls-key: {{ printf "%s" $.Values.externalClickhouse.tls.key | quote | b64enc | quote }}
|
||||
tls-key: {{ printf "%s" $.Values.externalClickhouse.tls.key | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user