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:
|
data:
|
||||||
#@yaml/text-templated-strings
|
#@yaml/text-templated-strings
|
||||||
placeholder-config.yaml: |
|
placeholder-config.yaml: |
|
||||||
apiVersion: v1alpha1
|
webhook:
|
||||||
webhookURL: (@= data.values.webhook_url @)
|
url: (@= data.values.webhook_url @)
|
||||||
webhookCABundlePath: /etc/config/ca.pem
|
caBundle: (@= data.values.webhook_ca_bundle @)
|
||||||
ca.pem: #@ data.values.webhook_ca_bundle
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@ -58,4 +57,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
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
|
image_tag: #! e.g. latest
|
||||||
|
|
||||||
webhook_url: #! e.g., https://example.com
|
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