@@ -18,6 +18,9 @@ The patch operator helps with defining patches in a declarative way. This operat
1818 - [ Creation-time patch injection] ( #creation-time-patch-injection )
1919 - [ Security Considerations] ( #security-considerations )
2020 - [ 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 )
2124 - [ Runtime patch enforcement] ( #runtime-patch-enforcement )
2225 - [ Patch Controller Security Considerations] ( #patch-controller-security-considerations )
2326 - [ Patch Controller Performance Considerations] ( #patch-controller-performance-considerations )
@@ -188,9 +191,7 @@ spec:
188191 targetObjectRef:
189192 apiVersion: admissionregistration.k8s.io/v1
190193 kind: MutatingWebhookConfiguration
191- labelSelector:
192- matchLabels:
193- redhat-cop.redhat.io/patch-operator: "true"
194+ name: patch-operator-inject
194195 patchTemplate: '[{"op": "replace", "path": "/webhooks/0/clientConfig/caBundle", "value":"{{ (index (index . 1).data "olmCAKey") }}"}]'
195196 patchType: application/json-patch+json
196197 sourceObjectRefs:
@@ -210,8 +211,6 @@ apiVersion: admissionregistration.k8s.io/v1
210211kind : MutatingWebhookConfiguration
211212metadata :
212213 name : patch-operator-inject
213- labels :
214- redhat-cop.redhat.io/patch-operator : " true"
215214webhooks :
216215- admissionReviewVersions :
217216 - v1
0 commit comments