mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
using const systemNodeRoleName instead of string system:node
This commit is contained in:
parent
cfa295f569
commit
b9e5f5ad2f
@ -370,7 +370,7 @@ func ClusterRoles() []rbacv1.ClusterRole {
|
||||
},
|
||||
{
|
||||
// a role for nodes to use to have the access they need for running pods
|
||||
ObjectMeta: metav1.ObjectMeta{Name: "system:node"},
|
||||
ObjectMeta: metav1.ObjectMeta{Name: systemNodeRoleName},
|
||||
Rules: NodeRules(),
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user