Add rbac for calico kube-controllers to access services (#12831)

Co-authored-by: Lawik974 <loic97429@gmail.com>
This commit is contained in:
k8s-infra-cherrypick-robot
2026-01-02 07:30:35 -08:00
committed by GitHub
parent 84d8746b41
commit 5fb85dc8a5

View File

@@ -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: [""]