DevStack: Allow kuryr-cni SA to create Events

Permissions to create Events was added to the kuryr-controller
ServiceAccount, but not to the kuryr-cni one. This commit fixes this,
allowing kuryr-daemon to create Events in DevStack.

Change-Id: I59a9de2f6cd3314b1326c43c4c1eefa8e445b9ee
This commit is contained in:
Michał Dulko 2021-12-23 10:54:52 +01:00
parent 6128e8fa7e
commit fe6f2c8b74
1 changed files with 5 additions and 0 deletions

View File

@ -478,6 +478,11 @@ rules:
verbs: ["*"]
resources:
- kuryrports
- apiGroups: ["", "events.k8s.io"]
resources:
- events
verbs:
- create
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1