kubernetes module: enable leader elect by default

This commit is contained in:
Jaka Hudoklin
2017-09-24 11:44:25 +02:00
committed by Robin Gloster
parent 856ca7347f
commit 8e48fff268
@@ -404,7 +404,7 @@ in {
leaderElect = mkOption { leaderElect = mkOption {
description = "Whether to start leader election before executing main loop."; description = "Whether to start leader election before executing main loop.";
type = types.bool; type = types.bool;
default = false; default = true;
}; };
kubeconfig = mkKubeConfigOptions "Kubernetes scheduler"; kubeconfig = mkKubeConfigOptions "Kubernetes scheduler";
@@ -438,7 +438,7 @@ in {
leaderElect = mkOption { leaderElect = mkOption {
description = "Whether to start leader election before executing main loop."; description = "Whether to start leader election before executing main loop.";
type = types.bool; type = types.bool;
default = false; default = true;
}; };
serviceAccountKeyFile = mkOption { serviceAccountKeyFile = mkOption {