Force upgrade of token node cert

This commit is contained in:
Erik Wilson 2019-05-02 16:22:42 -07:00
parent 21a9dbe2fc
commit d5ce19caae

View File

@ -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")