Browse Source

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

pull/9191/head
Thearas 2 years ago
committed by GitHub
parent
commit
ea29cd0890
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions
  1. 2
      roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2

2
roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2

@ -51,12 +51,10 @@ rules:
- apiGroups: - apiGroups:
- "" - ""
resources: 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 # 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 # etcd so all nodes know how to reach another pod running in in a different
# node. # node.
- nodes - nodes
{% endif %}
# to perform the translation of a CNP that contains `ToGroup` to its endpoints # to perform the translation of a CNP that contains `ToGroup` to its endpoints
- services - services
- endpoints - endpoints

Loading…
Cancel
Save