Rename ClusterRole to avoid update issue
@@ -559,7 +559,7 @@ const CanalTemplateV113 = `
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
- name: calico-node
+ name: calico
rules:
# The CNI plugin needs to get pods, nodes, and namespaces.
- apiGroups: [""]
@@ -719,7 +719,7 @@ metadata:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
- name: calico-node
+ name: calico
subjects:
- kind: ServiceAccount
name: canal
