add list nodes rules to cilium-operator clusterrole (#9178)

pull/9191/head
Thearas 2022-08-18 16:02:36 +08:00 committed by GitHub
parent 68653c31c0
commit ea29cd0890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -51,12 +51,10 @@ rules:
- apiGroups:
- ""
resources:
{% if cilium_version | regex_replace('v') is version('1.8', '<') %}
# to automatically read from k8s and import the node's pod CIDR to cilium's
# etcd so all nodes know how to reach another pod running in in a different
# node.
- nodes
{% endif %}
# to perform the translation of a CNP that contains `ToGroup` to its endpoints
- services
- endpoints