Fix string templating in YAML config.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-07-09 11:58:28 -05:00
parent fe81958d2c
commit a9cf376000

View File

@ -16,9 +16,10 @@ metadata:
labels: labels:
app: #@ data.values.app_name app: #@ data.values.app_name
data: data:
#@yaml/text-templated-strings
placeholder-config.yaml: | placeholder-config.yaml: |
apiVersion: v1alpha1 apiVersion: v1alpha1
webhookURL: #@ data.values.webhook_url webhookURL: (@= data.values.webhook_url @)
webhookCABundlePath: /etc/config/ca.pem webhookCABundlePath: /etc/config/ca.pem
ca.pem: #@ data.values.webhook_ca_bundle ca.pem: #@ data.values.webhook_ca_bundle
--- ---