mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #115713 from SataQiu/clean-20230213
cleanup: using const systemNodeRoleName instead of string "system:node"
This commit is contained in:
commit
cd5ab49741
@ -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