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

[2.16] Remove kube-rbac-proxy (#8302) #8313

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

pebrc
Copy link
Collaborator

@pebrc pebrc commented Dec 11, 2024

Backport

This will backport the following commits from main to 2.16:

Questions ?

Please refer to the Backport tool documentation

This removes the kube-auth-proxy from the ECK Helm charts and the ECK documentation. Instead if follows the recommendation from controller-runtime to use the built-in FilterProvider filters.WithAuthenticationAndAuthorization.

This pulls in a bunch of k8s API server dependencies increasing the binary size by about 12MB IIRC.

I have also tried to address some issues with our current Helm templating of the metrics server:

- allow enabling the secure mode with TLS+auth while not forcing users to have Promotheus installed e.g. when using Elastic Agent (!) (service monitor is still generated by default for bwc)
-    mixing configuration properties for the service monitor with the configuration properties of the metrics server (I moved them to serviceMonitor.* while implementing a form of bwc layer in the template

---------

Co-authored-by: Michael Montgomery <mmontg1@gmail.com>
Co-authored-by: Michael Morello <michael.morello@elastic.co>
(cherry picked from commit 032bff5)

# Conflicts:
#	go.sum
@pebrc pebrc added the backport For backport PRs label Dec 11, 2024
@botelastic botelastic bot added the triage label Dec 11, 2024
@pebrc pebrc mentioned this pull request Dec 11, 2024
@pebrc pebrc added the >enhancement Enhancement of existing functionality label Dec 11, 2024
@botelastic botelastic bot removed the triage label Dec 11, 2024
@thbkrkr thbkrkr merged commit ca46950 into elastic:2.16 Dec 11, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport For backport PRs >enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants