Browse Source

Merge pull request #433 from erikwilson/fix-0.5.0-cert-upgrade-bug

Force upgrade of token node cert
pull/440/head
Darren Shepherd 6 years ago committed by GitHub
parent
commit
ea94b1af77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/daemons/control/server.go

2
pkg/daemons/control/server.go

@ -266,7 +266,7 @@ func prepare(config *config.Control, runtime *config.ControlRuntime) error {
runtime.PasswdFile = path.Join(config.DataDir, "cred", "passwd")
runtime.KubeConfigSystem = path.Join(config.DataDir, "cred", "kubeconfig-system.yaml")
runtime.NodeKey = path.Join(config.DataDir, "tls", "token-node.key")
runtime.NodeCert = path.Join(config.DataDir, "tls", "token-node.crt")
runtime.NodeCert = path.Join(config.DataDir, "tls", "token-node-1.crt")
runtime.RequestHeaderCA = path.Join(config.DataDir, "tls", "request-header-ca.crt")
runtime.RequestHeaderCAKey = path.Join(config.DataDir, "tls", "request-header-ca.key")
runtime.ClientAuthProxyKey = path.Join(config.DataDir, "tls", "client-auth-proxy.key")

Loading…
Cancel
Save