Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-prometheus-stack] Add permission to the alertmanagers/status resource #3016

Merged
merged 2 commits into from
Feb 16, 2023

Conversation

twiden
Copy link
Contributor

@twiden twiden commented Feb 10, 2023

What this PR does / why we need it

Version 45.0.0 introduced a bug where the monitoring-kube-prometheus-operator ClusterRole lacks the permission to alertmanagers/status.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer

@andrewgkew @gianrubio @gkarthiks @GMartinez-Sisti @scottrigby @Xtigyro @QuentinBisson

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

@twiden twiden changed the title Add permission to the alertmanagers/status resource [kube-prometheus-stack] Add permission to the alertmanagers/status resource Feb 10, 2023
@twiden twiden force-pushed the patch-1 branch 2 times, most recently from 621393f to 871b898 Compare February 10, 2023 09:29
@andyspiers
Copy link

thanks for this fix @twiden - i've just seen the same error in my prometheus operator logs - looks like you might need to rebase this PR and change the target chart version to 45.1.1 perhaps?

twiden and others added 2 commits February 15, 2023 10:47
Signed-off-by: Tobias Widén <tobbetrollkarl@gmail.com>
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>
Signed-off-by: Tobias Widén tobbetrollkarl@gmail.com
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>
@twiden
Copy link
Contributor Author

twiden commented Feb 15, 2023

@andyspiers It's rebased now :)

@Jellyfrog
Copy link
Contributor

Confirming this solves the issue

@monotek monotek merged commit 15c1b4f into prometheus-community:main Feb 16, 2023
stamzid pushed a commit to Unstructured-IO/prometheus-community-helm-charts that referenced this pull request Mar 3, 2023
…source (prometheus-community#3016)

* Add permission to the alertmanagers/status resource

Signed-off-by: Tobias Widén <tobbetrollkarl@gmail.com>
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>

* Chart version 45.0.1

Signed-off-by: Tobias Widén tobbetrollkarl@gmail.com
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>

---------

Signed-off-by: Tobias Widén <tobbetrollkarl@gmail.com>
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>
Signed-off-by: Tobias Widén tobbetrollkarl@gmail.com
Matiasmct pushed a commit to giffgaff/prometheus-charts that referenced this pull request May 16, 2023
…source (prometheus-community#3016)

* Add permission to the alertmanagers/status resource

Signed-off-by: Tobias Widén <tobbetrollkarl@gmail.com>
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>

* Chart version 45.0.1

Signed-off-by: Tobias Widén tobbetrollkarl@gmail.com
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>

---------

Signed-off-by: Tobias Widén <tobbetrollkarl@gmail.com>
Signed-off-by: Tobias Widen <tobias.widen@tv4.se>
Signed-off-by: Tobias Widén tobbetrollkarl@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[prometheus-kube-stack] prometheus-operator ClusterRole lacks the permission to alertmanagers/status
4 participants