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

Remove kube-rbac-proxy #1099

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

Conversation

rubenvp8510
Copy link
Collaborator

@rubenvp8510 rubenvp8510 commented Jan 14, 2025

Fixes #1094

@rubenvp8510 rubenvp8510 changed the title Remove kubeproxy [WIP] Remove kubeproxy Jan 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 8.33333% with 11 lines in your changes missing coverage. Please review.

Project coverage is 58.59%. Comparing base (c2c2f7b) to head (48be058).

Files with missing lines Patch % Lines
cmd/root/options.go 12.50% 6 Missing and 1 partial ⚠️
cmd/start/main.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1099      +/-   ##
==========================================
- Coverage   58.64%   58.59%   -0.06%     
==========================================
  Files         113      113              
  Lines       10145    10157      +12     
==========================================
+ Hits         5950     5951       +1     
- Misses       3892     3902      +10     
- Partials      303      304       +1     
Flag Coverage Δ
unittests 58.59% <8.33%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rubenvp8510 rubenvp8510 force-pushed the remove_metrics_proxy branch 12 times, most recently from f61dcb4 to f900aa1 Compare January 16, 2025 10:13
Signed-off-by: Ruben Vargas <[email protected]>
@rubenvp8510 rubenvp8510 changed the title [WIP] Remove kubeproxy Remove kube-rbac-proxy Jan 16, 2025
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: deprecation
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this change affect the end user? Do end users need to update the metric endpoint?
I think it's an internal change and transparent to the user, so I'd mark it as enhancement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It doesn't affect. it should be transparent

@@ -4,7 +4,8 @@ distribution: community
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 127.0.0.1:8080
secure: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

If secure is true, I assume we also need to set --metrics-tls-cert-file, is this set somewhere in the community version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

When you don't specific certs those will be self-signed

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok 👍

Copy link
Collaborator

@andreasgerstmayr andreasgerstmayr left a comment

Choose a reason for hiding this comment

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

I would update the changelog entry from deprecation to enhancement, as for the end user nothing is changing or getting deprecated.

Otherwise, LGTM! Nice change :)

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.

⚠️ Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy
3 participants