mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-02 09:18:55 -03:30
Allow metallb:speaker to create events (#6147)
Since MetalLB v0.8[1], metallb:speaker has started publishing an event
nodeAssigned on k8s resource.
To support MetalLB v0.8+, this allows metallb:speaker to create events.
[1]: 5cc6e23776 (diff-60053ad6fecb5a3cfabb6f3d9e720899R246)
This commit is contained in:
@@ -50,6 +50,9 @@ rules:
|
|||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["services", "endpoints", "nodes"]
|
resources: ["services", "endpoints", "nodes"]
|
||||||
verbs: ["get", "list", "watch"]
|
verbs: ["get", "list", "watch"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["events"]
|
||||||
|
verbs: ["create"]
|
||||||
{% if podsecuritypolicy_enabled %}
|
{% if podsecuritypolicy_enabled %}
|
||||||
- apiGroups: ["policy"]
|
- apiGroups: ["policy"]
|
||||||
resourceNames: ["metallb"]
|
resourceNames: ["metallb"]
|
||||||
|
|||||||
Reference in New Issue
Block a user