deployment.yaml: update config file format

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Andrew Keesler 2020-07-14 12:38:43 -04:00
parent 63f5416b21
commit 9edae03812
No known key found for this signature in database
GPG Key ID: 27CE0444346F9413
2 changed files with 5 additions and 6 deletions

View File

@ -18,10 +18,9 @@ metadata:
data:
#@yaml/text-templated-strings
placeholder-config.yaml: |
apiVersion: v1alpha1
webhookURL: (@= data.values.webhook_url @)
webhookCABundlePath: /etc/config/ca.pem
ca.pem: #@ data.values.webhook_ca_bundle
webhook:
url: (@= data.values.webhook_url @)
caBundle: (@= data.values.webhook_ca_bundle @)
---
apiVersion: apps/v1
kind: Deployment

View File

@ -11,4 +11,4 @@ image_digest: #! e.g. sha256:f3c4fdfd3ef865d4b97a1fd295d94acc3f0c654c46b6f27ffad
image_tag: #! e.g. latest
webhook_url: #! e.g., https://example.com
webhook_ca_bundle: #! e.g., "-----BEGIN CERTIFICATE----- [...]"
webhook_ca_bundle: #! e.g., LS0tLS1CRUdJTiBDRVJUSUZJQ0F...