From ea29cd0890d3584fc3084d4ae028357f46f54f83 Mon Sep 17 00:00:00 2001 From: Thearas Date: Thu, 18 Aug 2022 16:02:36 +0800 Subject: [PATCH] add list nodes rules to cilium-operator clusterrole (#9178) --- roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2 b/roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2 index e49f670d4..9f7a71174 100644 --- a/roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2 +++ b/roles/network_plugin/cilium/templates/cilium-operator/cr.yml.j2 @@ -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