kubeadm: fix typo in KubeProxyClusterRoleBindingName constant

kubeam:node-proxier -> kubeadm:node-proxier
This causes e2e test failures:
"[area-kubeadm] proxy addon kube-proxy ServiceAccount should
be bound to the system:node-proxier cluster role"

in:
- kubeadm-kinder-latest
- kubeadm-kinder-latest-on-...
- other tests
This commit is contained in:
Lubomir I. Ivanov 2021-11-10 20:28:59 +02:00
parent 375fb6f017
commit e1571bf665

View File

@ -43,12 +43,12 @@ const (
// TODO: This k8s-generic, well-known constant should be fetchable from another source, not be in this package
KubeProxyClusterRoleName = "system:node-proxier"
// KubeProxyClusterRoleBindingName sets the name for the kube-proxy CluterRoleBinding
KubeProxyClusterRoleBindingName = "kubeadm:node-proxier"
// KubeProxyServiceAccountName describes the name of the ServiceAccount for the kube-proxy addon
KubeProxyServiceAccountName = "kube-proxy"
// KubeProxyClusterRoleBindingName sets the name for the kube-proxy CluterRoleBinding
KubeProxyClusterRoleBindingName = "kubeam:node-proxier"
// KubeProxyConfigMapRoleName sets the name of ClusterRole for ConfigMap
KubeProxyConfigMapRoleName = "kube-proxy"
)