-
Notifications
You must be signed in to change notification settings - Fork 176
Adding a flag to control whether auth is added to the EPP metrics server #1639
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
base: main
Are you sure you want to change the base?
Adding a flag to control whether auth is added to the EPP metrics server #1639
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Hi @Frapschen. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
/ok-to-test |
/lgtm As long as we keep the flag default to on, I think should be good. |
if metrics is not checking auth can we add a conditional to helm not to install the cluster role? |
@JeffLuoo Any reason we use PodMonitor in gke.yaml and use ServiceMonitor in epp-servicemonitor.yaml |
New changes are detected. LGTM label has been removed. |
@nirrozenbaum I have updated the chart template and applied some enhancements. |
ServiceMonitor is from native Prometheus Operator. PodMonitor is the CRD from Google Managed Prometheus and GKE deploys the Google Managed Prometheus by default in the cluster. |
I think gke PodMonitor was added before the ServiceMonitor. do we really need both? |
Yes. we still need both as |
fd3c898
to
4c67c4f
Compare
520b679
to
3a3cf79
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Frapschen, JeffLuoo 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add a
--metrics-endpoint-auth
flag to control whether to add auth to the EPP metrics serverWhich issue(s) this PR fixes:
Fixes #1637
Does this PR introduce a user-facing change?:
Add
--metrics-endpoint-auth=false
to your command line when you need to disable the auth of EPP metrics server in local dev.