Skip to content

Commit 830dc1e

Browse files
committed
Add Events to OpenStack's RBAC
OpenStack keeps a separate SA definition for its CCM with a permission to patch Services. kubernetes/cloud-provider-openstack#2383 extends the needs to also be able to create events and this patch solves that.
1 parent 4ec446d commit 830dc1e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

manifests/0000_26_cloud-controller-manager-operator_04_rbac_provider_openstack.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ rules:
2424
- services
2525
verbs:
2626
- patch
27+
- apiGroups:
28+
# Required by occm to create events
29+
- ""
30+
resources:
31+
- events
32+
verbs:
33+
- create
2734

2835
---
2936
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)