Skip to content

Conversation

@vdice
Copy link
Contributor

@vdice vdice commented Jan 9, 2025

Per #354, removes the deprecated kube-rbac-proxy component.

I followed the instructions in kubernetes-sigs/kubebuilder#3907 to manually update this project. Added an e2e test for the metrics server functionality.

Closes #354

// https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/metrics/filters#WithAuthenticationAndAuthorization
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization

// TODO(user): If CertDir, CertName, and KeyName are not specified, controller-runtime will automatically
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was lifted from the upstream example project code, but I also see instructions in kubernetes-sigs/kubebuilder#3907 to have cert-manager cover certs for the metrics-server, presumably similar to the webhook-server. Shall we do this?

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah we probably should

Copy link
Contributor Author

@vdice vdice Jan 9, 2025

Choose a reason for hiding this comment

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

Ok, created a follow-up: #364

@endocrimes endocrimes merged commit 90d14cc into spinframework:main Jan 10, 2025
11 checks passed
@vdice vdice deleted the ref/rm-rbac-proxy branch January 10, 2025 14:13
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

2 participants