@@ -18,119 +18,5 @@ resources:
1818- crd
1919- rbac
2020- manager
21- # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
22- # crd/kustomization.yaml
23- # - ../webhook
24- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
25- # - ../certmanager
2621# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2722# - ../prometheus
28-
29- # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
30- # crd/kustomization.yaml
31- # - manager_webhook_patch.yaml
32-
33- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
34- # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
35- # 'CERTMANAGER' needs to be enabled to use ca injection
36- # - webhookcainjection_patch.yaml
37-
38- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
39- # Uncomment the following replacements to add the cert-manager CA injection annotations
40- # replacements:
41- # - source: # Add cert-manager annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs
42- # kind: Certificate
43- # group: cert-manager.io
44- # version: v1
45- # name: serving-cert # this name should match the one in certificate.yaml
46- # fieldPath: .metadata.namespace # namespace of the certificate CR
47- # targets:
48- # - select:
49- # kind: ValidatingWebhookConfiguration
50- # fieldPaths:
51- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
52- # options:
53- # delimiter: '/'
54- # index: 0
55- # create: true
56- # - select:
57- # kind: MutatingWebhookConfiguration
58- # fieldPaths:
59- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
60- # options:
61- # delimiter: '/'
62- # index: 0
63- # create: true
64- # - select:
65- # kind: CustomResourceDefinition
66- # fieldPaths:
67- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
68- # options:
69- # delimiter: '/'
70- # index: 0
71- # create: true
72- # - source:
73- # kind: Certificate
74- # group: cert-manager.io
75- # version: v1
76- # name: serving-cert # this name should match the one in certificate.yaml
77- # fieldPath: .metadata.name
78- # targets:
79- # - select:
80- # kind: ValidatingWebhookConfiguration
81- # fieldPaths:
82- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
83- # options:
84- # delimiter: '/'
85- # index: 1
86- # create: true
87- # - select:
88- # kind: MutatingWebhookConfiguration
89- # fieldPaths:
90- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
91- # options:
92- # delimiter: '/'
93- # index: 1
94- # create: true
95- # - select:
96- # kind: CustomResourceDefinition
97- # fieldPaths:
98- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
99- # options:
100- # delimiter: '/'
101- # index: 1
102- # create: true
103- # - source: # Add cert-manager annotation to the webhook Service
104- # kind: Service
105- # version: v1
106- # name: webhook-service
107- # fieldPath: .metadata.name # namespace of the service
108- # targets:
109- # - select:
110- # kind: Certificate
111- # group: cert-manager.io
112- # version: v1
113- # fieldPaths:
114- # - .spec.dnsNames.0
115- # - .spec.dnsNames.1
116- # options:
117- # delimiter: '.'
118- # index: 0
119- # create: true
120- # - source:
121- # kind: Service
122- # version: v1
123- # name: webhook-service
124- # fieldPath: .metadata.namespace # namespace of the service
125- # targets:
126- # - select:
127- # kind: Certificate
128- # group: cert-manager.io
129- # version: v1
130- # fieldPaths:
131- # - .spec.dnsNames.0
132- # - .spec.dnsNames.1
133- # options:
134- # delimiter: '.'
135- # index: 1
136- # create: true
0 commit comments