3b4005a047
This is done in preparation to allow multiple logging stacks.
Change-Id: I950200805ec01851bfdf6ccc3a5243893a947616
12 lines
328 B
YAML
12 lines
328 B
YAML
#@ load("@ytt:data", "data")
|
|
#@ load("@ytt:base64", "base64")
|
|
#@ if data.values.monitoring.grafana.ldap.enabled and not data.values.tls.skipVerify:
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: grafana-ca
|
|
namespace: #@ data.values.namespace
|
|
data:
|
|
server.ca.crt: #@ base64.encode(data.values.tls.caCert)
|
|
type: Opaque
|
|
#@ end
|