Skip to content

Commit

Permalink
PWX-38545 : Failed to create AlertManager object with prometheus-oper…
Browse files Browse the repository at this point in the history
…ator v0.75.0 (#1642)

* PWX-38545 : add alertmanagers/status permission for monitoring.coreos.com

* fix failing test

---------

Co-authored-by: Harsh Desai <[email protected]>
  • Loading branch information
nikita-bhatia and harsh-px authored Aug 15, 2024
1 parent 9bc256c commit f37e98f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/storage/portworx/component/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ func (c *prometheus) createOperatorClusterRole() error {
"alertmanagers",
"alertmanagers/finalizers",
"alertmanagerconfigs",
"alertmanagers/status",
"prometheuses",
"prometheuses/status",
"prometheuses/finalizers",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rules:
- alertmanagers
- alertmanagers/finalizers
- alertmanagerconfigs
- alertmanagers/status
- prometheuses
- prometheuses/status
- prometheuses/finalizers
Expand Down

0 comments on commit f37e98f

Please sign in to comment.