mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 23:07:47 -02:30
Add rbac for calico kube-controllers to access services (#12828)
This commit is contained in:
@@ -26,6 +26,16 @@ rules:
|
|||||||
verbs:
|
verbs:
|
||||||
- watch
|
- watch
|
||||||
- list
|
- list
|
||||||
|
# Services are monitored for service LoadBalancer IP allocation
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources:
|
||||||
|
- services
|
||||||
|
- services/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
{% elif calico_datastore == "kdd" %}
|
{% elif calico_datastore == "kdd" %}
|
||||||
# Nodes are watched to monitor for deletions.
|
# Nodes are watched to monitor for deletions.
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
|
|||||||
Reference in New Issue
Block a user