blob: 3586d5d018947a752fb2ce143f4e052ae83e4612 [file] [log] [blame]
#@ load("@ytt:data", "data")
#@ load("@ytt:base64", "base64")
#@ if not data.values.istio.enabled:
apiVersion: v1
kind: Secret
metadata:
name: loki-server-tls
namespace: #@ data.values.namespace
type: kubernetes.io/tls
data:
tls.crt: #@ base64.encode(data.values.logging.loki.tls.cert)
tls.key: #@ base64.encode(data.values.logging.loki.tls.key)
#@ end