mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 10:00:03 -03:30
Add rbac for calico kube-controllers to access services (#12831)
Co-authored-by: Lawik974 <loic97429@gmail.com>
This commit is contained in:
parent
84d8746b41
commit
5fb85dc8a5
@ -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: [""]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user