Skip to content

Conversation

@ushabelgur
Copy link
Contributor

Proposed Changes

  • Remove dependency on kube-rbac-proxy container by adopting controller-runtime's native authn/authz for metrics
  • Rename rbac files to be aligned with metrics

Fixes #354

@github-actions github-actions bot added size/L bug Something isn't working labels Feb 4, 2025
@github-actions github-actions bot added size/XXL and removed size/L labels Feb 14, 2025
@ushabelgur ushabelgur added enhancement New feature or request and removed bug Something isn't working labels Feb 14, 2025
@ushabelgur ushabelgur marked this pull request as ready for review February 14, 2025 06:50
@ushabelgur ushabelgur requested a review from a team as a code owner February 14, 2025 06:50
@ushabelgur ushabelgur self-assigned this Feb 14, 2025
@github-actions github-actions bot added the bug Something isn't working label Feb 14, 2025
Copy link
Member

@afritzler afritzler left a comment

Choose a reason for hiding this comment

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

Thanks @ushabelgur! LGTM just some cosmetic changes.

flag.StringVar(&metricsCertName, "metrics-cert-name", "tls.crt", "The name of the metrics server certificate file.")
flag.StringVar(&metricsCertKey, "metrics-cert-key", "tls.key", "The name of the metrics server key file.")
flag.BoolVar(&enableHTTP2, "enable-http2", false,
"If set, HTTP/2 will be enabled for the metrics and webhook servers")
Copy link
Member

Choose a reason for hiding this comment

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

As we have no webhook server we need to remove this help hint.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated help text

flag.StringVar(&metricsCertName, "metrics-cert-name", "tls.crt", "The name of the metrics server certificate file.")
flag.StringVar(&metricsCertKey, "metrics-cert-key", "tls.key", "The name of the metrics server key file.")
flag.BoolVar(&enableHTTP2, "enable-http2", false,
"If set, HTTP/2 will be enabled for the metrics and webhook servers")
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

flag.StringVar(&metricsCertName, "metrics-cert-name", "tls.crt", "The name of the metrics server certificate file.")
flag.StringVar(&metricsCertKey, "metrics-cert-key", "tls.key", "The name of the metrics server key file.")
flag.BoolVar(&enableHTTP2, "enable-http2", false,
"If set, HTTP/2 will be enabled for the metrics and webhook servers")
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@afritzler afritzler removed the bug Something isn't working label Mar 4, 2025
@github-actions github-actions bot added the bug Something isn't working label Mar 5, 2025
@lukas016 lukas016 force-pushed the osc/fix/kube-rbac-proxy branch from 36c82fb to e609706 Compare March 5, 2025 05:23
@ushabelgur ushabelgur removed the bug Something isn't working label Mar 5, 2025
@ushabelgur ushabelgur requested a review from afritzler March 5, 2025 05:29
@afritzler afritzler merged commit b866248 into ironcore-dev:main Mar 5, 2025
7 checks passed
@hardikdr hardikdr added the area/networking Networking-related tasks and improvements. label Jun 25, 2025
@hardikdr hardikdr added this to Roadmap Jun 29, 2025
@hardikdr hardikdr moved this to Done in Roadmap Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking Networking-related tasks and improvements. enhancement New feature or request size/XXL

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Drop usage of kube-rbac-proxy

3 participants