Skip to content

Commit

Permalink
Merge pull request #17415 from liggitt/master
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 17396, 17415).

Enable cert rotation for node bootstrap

Fixes #17413
  • Loading branch information
openshift-merge-robot authored Nov 22, 2017
2 parents 63979f9 + bb5eca1 commit 6270675
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/server/start/bootstrap_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ func overrideNodeConfigForBootstrap(nodeConfig *configapi.NodeConfig, bootstrapK
nodeConfig.ServingInfo.ServerCert.CertFile = ""
nodeConfig.ServingInfo.ServerCert.KeyFile = ""
nodeConfig.KubeletArguments["bootstrap-kubeconfig"] = []string{bootstrapKubeconfig}
nodeConfig.KubeletArguments["rotate-certificates"] = []string{"true"}

// Default a valid certificate directory to store bootstrap certs
if _, ok := nodeConfig.KubeletArguments["cert-dir"]; !ok {
Expand Down

0 comments on commit 6270675

Please sign in to comment.