From 4d13f6fc357cc78cc30aca6154caef6a65b82862 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 10 Jul 2025 17:32:57 -0400 Subject: [PATCH] Set ClusterRole for roleRef in unauth webook example Otherwise my webhooks don't work and I get failure replies to my sent webhooks with messages like: ``` RBAC: role.rbac.authorization.k8s.io \"system:webhook\" not found. ``` --- modules/unauthenticated-users-system-webhook.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/unauthenticated-users-system-webhook.adoc b/modules/unauthenticated-users-system-webhook.adoc index ced68af2483e..9540024d2dcb 100644 --- a/modules/unauthenticated-users-system-webhook.adoc +++ b/modules/unauthenticated-users-system-webhook.adoc @@ -37,7 +37,7 @@ metadata: namespace: <1> roleRef: apiGroup: rbac.authorization.k8s.io - kind: Role + kind: ClusterRole name: "system:webhook" subjects: - apiGroup: rbac.authorization.k8s.io