mirror of https://github.com/k3s-io/k3s
commit
185a8dca13
|
@ -150,9 +150,6 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control
|
||||||
if len(cfg.StorageEndpoint) > 0 {
|
if len(cfg.StorageEndpoint) > 0 {
|
||||||
argsMap["etcd-servers"] = cfg.StorageEndpoint
|
argsMap["etcd-servers"] = cfg.StorageEndpoint
|
||||||
}
|
}
|
||||||
if cfg.StorageBackend != "etcd3" {
|
|
||||||
argsMap["watch-cache"] = "false"
|
|
||||||
}
|
|
||||||
|
|
||||||
certDir := filepath.Join(cfg.DataDir, "tls/temporary-certs")
|
certDir := filepath.Join(cfg.DataDir, "tls/temporary-certs")
|
||||||
os.MkdirAll(certDir, 0700)
|
os.MkdirAll(certDir, 0700)
|
||||||
|
|
Loading…
Reference in New Issue