deployment.yaml: update config file format
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
63f5416b21
commit
9edae03812
@ -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
|
||||
@ -58,4 +57,4 @@ spec:
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: #@ data.values.app_name + "-config"
|
||||
name: #@ data.values.app_name + "-config"
|
||||
|
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user