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

refactor: manually generate self-signed kubelet serving cert when opting out of certificate rotation #5511

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

cameronmeissner
Copy link
Collaborator

@cameronmeissner cameronmeissner commented Jan 6, 2025

What type of PR is this?

What this PR does / why we need it:

in cases where customers want to manually opt-out of kubelet serving cert rotation via nodepool tag, this PR ensures that the self-signed certificate their kubelets end up getting look exactly the same as the self-signed certs they'd get if they hadn't been onboarded to kubelet serving certificate rotation in the first place - this is accomplished by calling the generateSelfSignedKubeletServingCertificate function explicitly and passing in --tls-cert-file/--tls-private-key-file to the kubelet, rather than letting kubelet generate its own self-signed cert at startup time.

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@cameronmeissner
Copy link
Collaborator Author

relevant abe2e scenarios are passing, failures are unrelated

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