@@ -41,34 +41,34 @@ patchesStrategicMerge:
4141# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
4242# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
4343# 'CERTMANAGER' needs to be enabled to use ca injection
44- # - webhookcainjection_patch.yaml
44+ - webhookcainjection_patch.yaml
4545
4646# the following config is for teaching kustomize how to do var substitution
4747vars :
4848# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
49- # - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
50- # objref:
51- # kind: Certificate
52- # group: cert-manager.io
53- # version: v1
54- # name: serving-cert # this name should match the one in certificate.yaml
55- # fieldref:
56- # fieldpath: metadata.namespace
57- # - name: CERTIFICATE_NAME
58- # objref:
59- # kind: Certificate
60- # group: cert-manager.io
61- # version: v1
62- # name: serving-cert # this name should match the one in certificate.yaml
63- # - name: SERVICE_NAMESPACE # namespace of the service
64- # objref:
65- # kind: Service
66- # version: v1
67- # name: webhook-service
68- # fieldref:
69- # fieldpath: metadata.namespace
70- # - name: SERVICE_NAME
71- # objref:
72- # kind: Service
73- # version: v1
74- # name: webhook-service
49+ - name : CERTIFICATE_NAMESPACE # namespace of the certificate CR
50+ objref :
51+ kind : Certificate
52+ group : cert-manager.io
53+ version : v1
54+ name : serving-cert # this name should match the one in certificate.yaml
55+ fieldref :
56+ fieldpath : metadata.namespace
57+ - name : CERTIFICATE_NAME
58+ objref :
59+ kind : Certificate
60+ group : cert-manager.io
61+ version : v1
62+ name : serving-cert # this name should match the one in certificate.yaml
63+ - name : SERVICE_NAMESPACE # namespace of the service
64+ objref :
65+ kind : Service
66+ version : v1
67+ name : webhook-service
68+ fieldref :
69+ fieldpath : metadata.namespace
70+ - name : SERVICE_NAME
71+ objref :
72+ kind : Service
73+ version : v1
74+ name : webhook-service
0 commit comments