-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
faf8c6b
commit 8c3170d
Showing
4 changed files
with
75 additions
and
42 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
vendor/k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap/BUILD
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
75 changes: 34 additions & 41 deletions
75
vendor/k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap/bootstrap.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/util/cert/io.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 15 additions & 1 deletion
16
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/util/certificate/certificate_store.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.