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

Add kubeRBACProxy property to support querying in cluster prometheus in openshift #229

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mittal-ishaan
Copy link

@mittal-ishaan mittal-ishaan commented Oct 6, 2024

  • Add kubeRBACProxy property to set KUBE_RBAC_PROXY_ENABLED as true in the env var of the container.
  • createPrometheusClusterRoleBinding property to create cluster role binding to grant required permissions to the serviceaccount to query prometheus with kube-rbac-proxy enabled.
  • Add the role binding to grant permissions this external prometheus to scrape metrics from kubecost.
  • Add a check that both kubeRBACProxy and BearerToken property cannot be set together.

@mittal-ishaan mittal-ishaan marked this pull request as draft October 10, 2024 18:45
@mittal-ishaan mittal-ishaan marked this pull request as ready for review October 14, 2024 13:20
@jessegoodier
Copy link

related to #226

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.

2 participants