@@ -19,11 +19,8 @@ resources:
1919- ../rbac
2020- ../manager
2121- ../internalcert
22- # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
23- # crd/kustomization.yaml
2422- ../webhook
25- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
26- # - ../certmanager
23+
2724# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2825# - ../prometheus
2926
@@ -39,107 +36,5 @@ patchesStrategicMerge:
3936# crd/kustomization.yaml
4037- manager_webhook_patch.yaml
4138
42- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
43- # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
44- # 'CERTMANAGER' needs to be enabled to use ca injection
45- # - webhookcainjection_patch.yaml
46-
47- # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
48- # Uncomment the following replacements to add the cert-manager CA injection annotations
49- # replacements:
50- # - source: # Add cert-manager annotation to ValidatingWebhookConfiguration, MutatingWebhookConfiguration and CRDs
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- # fieldPath: .metadata.namespace # namespace of the certificate CR
56- # targets:
57- # - select:
58- # kind: ValidatingWebhookConfiguration
59- # fieldPaths:
60- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
61- # options:
62- # delimiter: '/'
63- # index: 0
64- # create: true
65- # - select:
66- # kind: MutatingWebhookConfiguration
67- # fieldPaths:
68- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
69- # options:
70- # delimiter: '/'
71- # index: 0
72- # create: true
73- # - select:
74- # kind: CustomResourceDefinition
75- # fieldPaths:
76- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
77- # options:
78- # delimiter: '/'
79- # index: 0
80- # create: true
81- # - source:
82- # kind: Certificate
83- # group: cert-manager.io
84- # version: v1
85- # name: serving-cert # this name should match the one in certificate.yaml
86- # fieldPath: .metadata.name
87- # targets:
88- # - select:
89- # kind: ValidatingWebhookConfiguration
90- # fieldPaths:
91- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
92- # options:
93- # delimiter: '/'
94- # index: 1
95- # create: true
96- # - select:
97- # kind: MutatingWebhookConfiguration
98- # fieldPaths:
99- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
100- # options:
101- # delimiter: '/'
102- # index: 1
103- # create: true
104- # - select:
105- # kind: CustomResourceDefinition
106- # fieldPaths:
107- # - .metadata.annotations.[cert-manager.io/inject-ca-from]
108- # options:
109- # delimiter: '/'
110- # index: 1
111- # create: true
112- # - source: # Add cert-manager annotation to the webhook Service
113- # kind: Service
114- # version: v1
115- # name: webhook-service
116- # fieldPath: .metadata.name # namespace of the service
117- # targets:
118- # - select:
119- # kind: Certificate
120- # group: cert-manager.io
121- # version: v1
122- # fieldPaths:
123- # - .spec.dnsNames.0
124- # - .spec.dnsNames.1
125- # options:
126- # delimiter: '.'
127- # index: 0
128- # create: true
129- # - source:
130- # kind: Service
131- # version: v1
132- # name: webhook-service
133- # fieldPath: .metadata.namespace # namespace of the service
134- # targets:
135- # - select:
136- # kind: Certificate
137- # group: cert-manager.io
138- # version: v1
139- # fieldPaths:
140- # - .spec.dnsNames.0
141- # - .spec.dnsNames.1
142- # options:
143- # delimiter: '.'
144- # index: 1
145- # create: true
39+ # Uncomment below for development
40+ # - manager_config_dev_patch.yaml
0 commit comments