-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Upgrade prometheus operator to 0.45.0 #20484
Upgrade prometheus operator to 0.45.0 #20484
Conversation
Have tried going through CHANGES from https://github.com/prometheus-operator/prometheus-operator/releases and incorporated possible relevant changes in this PR
/assign @hongkailiu @cjwagner |
resources: | ||
- customresourcedefinitions | ||
verbs: | ||
- '*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this still needed in order to the operator to create/update the CRDs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is from https://github.com/prometheus-operator/prometheus-operator/tree/master/example/rbac/prometheus-operator, I think it's replaced by a more strict rule under `- apiGroups:
- monitoring.coreos.com`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that, but IIUC that only grants access to resources in that api group. The resources are defined via CustomResourceDefinitions though which are themselves resources. I'd expect the operator to need permissions to act on CustomResourceDefinition resources in order to create or update the definitions.
I agree that it is strange that the rbac rules no longer include that so I am probably misunderstanding. We can certainly try this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sg
/test pull-test-infra-integration |
@hongkailiu , mind taking a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
/test ? |
@chaodaiG: The following commands are available to trigger jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test |
@chaodaiG: The
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test something-not-exist |
@chaodaiG: The specified target(s) for
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest ? |
@chaodaiG: The
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
/retest
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chaodaiG, cjwagner, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Will try to merge this this upcoming week |
/unhold |
This change is in preparation for upgrading prometheus, which could further help with mitigating #20439.
Have tried going through CHANGES from https://github.com/prometheus-operator/prometheus-operator/releases and incorporated possible relevant changes in this PR.