fix: bootstrap trusted kubelet serving certificates - #85
Open
r3loac wants to merge 3 commits into
Open
Conversation
- Add a Status printer column derived from the NodePool Ready condition - Regenerate the NodePool CRD - Add regression coverage for the printer column - Document the design, behavior, and deployment workflow
- Request a kubernetes.io/kubelet-serving certificate for the manager Pod IP - Replace the self-signed certificate after CSR approval without restarting - Renew serving certificates before expiration - Add the required Pod identity environment variables and CSR RBAC - Document CSR approval and kubelet TLS configuration - Add coverage for certificate installation and IP SAN validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Nebula now requests a trusted kubelet serving certificate through the
kubernetes.io/kubelet-servingCSR signer.The CSR contains the manager Pod IP in its SAN. After approval and issuance,
Nebula atomically replaces the self-signed fallback certificate without
restarting the kubelet API or interrupting existing streams.
Why
Managed Kubernetes control planes such as EKS may verify kubelet serving
certificates. Nebula previously used only a self-signed certificate, causing
kubectl logsandkubectl execto fail with:x509: certificate signed by unknown authorityAdditional changes
POD_NAMEandPOD_UIDprojectionsVerification
go test ./pkg/vnode ./cmd -count=1go vet ./...Deployment note
The
kubernetes.io/kubelet-servingsigner requires an external approvaldecision. Approve the generated CSR with: