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 support for generating Hubble metrics certificates #199

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

chancez
Copy link
Contributor

@chancez chancez commented Apr 12, 2024

I'm working on adding TLS support to hubble and cilium metrics servers, starting with Hubble. I've tested this locally in kind by installing cilium with a custom certain image using my branch https://github.com/cilium/cilium/tree/pr/chancez/hubble_metrics_mtls.

@chancez chancez self-assigned this Apr 12, 2024
@chancez chancez requested a review from a team as a code owner April 12, 2024 18:36
@chancez chancez requested review from rolinh and removed request for a team April 12, 2024 18:36
@chancez chancez requested a review from kaworu April 16, 2024 15:11
Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch LGTM, however we already have a lot of duplication, and adding two more certificates that way will introduce even more.

I think it's time to consider refactoring certgen to allow the configuration to drive certificate generation. I understand you're currently working on something unrelated and I'm not suggesting to do it as part of the metrics work, but we should kick off the discussion. @chancez what do you think?

@chancez
Copy link
Contributor Author

chancez commented Apr 17, 2024

@kaworu yeah, I think that would be ideal, but at the same time; at this point it would likely just be a lot of work for little gain. Adding new certs took like 5 minutes, even if it was pretty duplicated.

@chancez chancez merged commit 46dc477 into master Apr 17, 2024
1 check passed
@chancez chancez deleted the pr/chancez/support_hubble_metrics branch April 17, 2024 14:59
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