Skip to content

Commit

Permalink
Template also name of ClusterRole
Browse files Browse the repository at this point in the history
  • Loading branch information
agmimidi authored Apr 3, 2024
1 parent 3dfe3e9 commit ace7b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/generate_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func generateClusterRole(rules []rbacv1.PolicyRule, roleName string) (string, er
APIVersion: "rbac.authorization.k8s.io/v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: "custom-cluster-role",
Name: roleName,
},
Rules: rules,
}
Expand Down

0 comments on commit ace7b26

Please sign in to comment.