@@ -18,6 +18,9 @@ The patch operator helps with defining patches in a declarative way. This operat
18
18
- [ Creation-time patch injection] ( #creation-time-patch-injection )
19
19
- [ Security Considerations] ( #security-considerations )
20
20
- [ Installing the creation time webhook] ( #installing-the-creation-time-webhook )
21
+ - [ Enabling creation time time webhook (OLM)] ( #enabling-creation-time-time-webhook-olm )
22
+ - [ Enabling creation time time webhook (Helm)] ( #enabling-creation-time-time-webhook-helm )
23
+ - [ Webhook rules] ( #webhook-rules )
21
24
- [ Runtime patch enforcement] ( #runtime-patch-enforcement )
22
25
- [ Patch Controller Security Considerations] ( #patch-controller-security-considerations )
23
26
- [ Patch Controller Performance Considerations] ( #patch-controller-performance-considerations )
@@ -188,9 +191,7 @@ spec:
188
191
targetObjectRef:
189
192
apiVersion: admissionregistration.k8s.io/v1
190
193
kind: MutatingWebhookConfiguration
191
- labelSelector:
192
- matchLabels:
193
- redhat-cop.redhat.io/patch-operator: "true"
194
+ name: patch-operator-inject
194
195
patchTemplate: '[{"op": "replace", "path": "/webhooks/0/clientConfig/caBundle", "value":"{{ (index (index . 1).data "olmCAKey") }}"}]'
195
196
patchType: application/json-patch+json
196
197
sourceObjectRefs:
@@ -210,8 +211,6 @@ apiVersion: admissionregistration.k8s.io/v1
210
211
kind : MutatingWebhookConfiguration
211
212
metadata :
212
213
name : patch-operator-inject
213
- labels :
214
- redhat-cop.redhat.io/patch-operator : " true"
215
214
webhooks :
216
215
- admissionReviewVersions :
217
216
- v1
0 commit comments