You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -279,6 +279,16 @@ var unsupportedAdmissionRegistrationResources = sets.New(
279
279
)
280
280
281
281
// CheckWebhookRules ensures webhook rules do not reference forbidden API groups or resources in line with OLMv0 behavior
282
+
// The following are forbidden, rules targeting:
283
+
// - all API groups (i.e. '*')
284
+
// - OLMv1 API group (i.e. 'olm.operatorframework.io')
285
+
// - all resources under the 'admissionregistration.k8s.io' API group
286
+
// - the 'ValidatingWebhookConfiguration' resource under the 'admissionregistration.k8s.io' API group
287
+
// - the 'MutatingWebhookConfiguration' resource under the 'admissionregistration.k8s.io' API group
288
+
//
289
+
// These boundaries attempt to reduce the blast radius of faulty webhooks and avoid deadlocks preventing the user
290
+
// from deleting OLMv1 resources installing and managing the faulty webhook, or deleting faulty admission webhook
291
+
// configurations.
282
292
// See https://github.com/operator-framework/operator-lifecycle-manager/blob/ccf0c4c91f1e7673e87f3a18947f9a1f88d48438/pkg/controller/install/webhook.go#L19
0 commit comments