Skip to content

Commit 8c3170d

Browse files
UPSTREAM: 62152: Keep node.kubeconfig correct during rotation
The node.kubeconfig created by bootstrap will not work after the first rotation - write bootstrap credentials into the cert store in order to guarantee that rotation preserves that config.
1 parent faf8c6b commit 8c3170d

File tree

4 files changed

+75
-42
lines changed

4 files changed

+75
-42
lines changed

vendor/k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap/BUILD

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap/bootstrap.go

+34-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/util/cert/io.go

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/util/certificate/certificate_store.go

+15-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)