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