mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Use watch-cache for kvsql
This commit is contained in:
parent
d7f3f626a7
commit
ad11ba583f
@ -150,9 +150,6 @@ func apiServer(ctx context.Context, cfg *config.Control, runtime *config.Control
|
||||
if len(cfg.StorageEndpoint) > 0 {
|
||||
argsMap["etcd-servers"] = cfg.StorageEndpoint
|
||||
}
|
||||
if cfg.StorageBackend != "etcd3" {
|
||||
argsMap["watch-cache"] = "false"
|
||||
}
|
||||
|
||||
certDir := filepath.Join(cfg.DataDir, "tls/temporary-certs")
|
||||
os.MkdirAll(certDir, 0700)
|
||||
|
Loading…
Reference in New Issue
Block a user