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

feat(metrics-server): use cert-manager certs #364

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vdice
Copy link
Contributor

@vdice vdice commented Jan 9, 2025

Depends on #363 (will rebase after that one is merged)

Updates the metrics server endpoint to use certs generated by cert-manager; ref #363 (comment)

I was naively expecting that we could do away with the -k arg when curling the metrics server but the certs still use a self-signed CA, so it still appears to be necessary. (Unless I'm missing something?)

So, this PR doesn't change too much functionally but comes with the benefit that this metrics server endpoint uses the same cert mechanism as the pre-existing webhook server endpoint, and the relevant bits of code are slightly more up-to-date with latest kubebuilder examples.

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.

1 participant