Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleygo committed Dec 4, 2024
1 parent 6dc2214 commit 9929a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/operator/v1beta1/vmagent_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ func (cr VMAgent) IsOwnsServiceAccount() bool {
}

func (cr VMAgent) GetClusterRoleName() string {
return fmt.Sprintf("monitoring:%s:vmagent-cluster-access-%s", cr.Namespace, cr.Name)
return fmt.Sprintf("monitoring:%s:vmagent-%s", cr.Namespace, cr.Name)
}

func (cr VMAgent) GetNSName() string {
Expand Down

0 comments on commit 9929a9e

Please sign in to comment.