-
Notifications
You must be signed in to change notification settings - Fork 185
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
Create ClusterRoleBinding to fetch in-cluster monitoring metrics #2892
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kaustav Majumder <[email protected]>
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ezio-auditore The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -140,7 +140,9 @@ rules: | |||
- monitoring.coreos.com | |||
resources: | |||
- alertmanagers | |||
- k8s |
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.
What is this resource? Why is it required?
r.Log.Error(err, "Failed to create/update K8s service monitor Cluster Role Binding") | ||
return err | ||
} | ||
r.Log.Info("K8s cluster role binding creation succeeded", "Name", crb.Name) |
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.
Needs to be more descriptive or can be dropped.
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.
why should an operator create ClusterRoleBinding as that's the role of olm/admin?
No description provided.