Skip to content

Commit bc5b384

Browse files
dustymabeopenshift-cherrypick-robot
authored andcommitted
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. ```
1 parent 5efcaaa commit bc5b384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/unauthenticated-users-system-webhook.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ metadata:
3737
namespace: <namespace> <1>
3838
roleRef:
3939
apiGroup: rbac.authorization.k8s.io
40-
kind: Role
40+
kind: ClusterRole
4141
name: "system:webhook"
4242
subjects:
4343
- apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)