nixos/kubernetes: allow merging multiple definitions of extraOpts

Yc.Shen d43f88e3 c7695f95

Changed files
+5 -5
nixos
+1 -1
nixos/modules/services/cluster/kubernetes/apiserver.nix
···
extraOpts = mkOption {
description = "Kubernetes apiserver extra command line options.";
default = "";
-
type = str;
};
extraSANs = mkOption {
···
extraOpts = mkOption {
description = "Kubernetes apiserver extra command line options.";
default = "";
+
type = separatedString " ";
};
extraSANs = mkOption {
+1 -1
nixos/modules/services/cluster/kubernetes/controller-manager.nix
···
extraOpts = mkOption {
description = "Kubernetes controller manager extra command line options.";
default = "";
-
type = str;
};
featureGates = mkOption {
···
extraOpts = mkOption {
description = "Kubernetes controller manager extra command line options.";
default = "";
+
type = separatedString " ";
};
featureGates = mkOption {
+1 -1
nixos/modules/services/cluster/kubernetes/kubelet.nix
···
extraOpts = mkOption {
description = "Kubernetes kubelet extra command line options.";
default = "";
-
type = str;
};
featureGates = mkOption {
···
extraOpts = mkOption {
description = "Kubernetes kubelet extra command line options.";
default = "";
+
type = separatedString " ";
};
featureGates = mkOption {
+1 -1
nixos/modules/services/cluster/kubernetes/proxy.nix
···
extraOpts = mkOption {
description = "Kubernetes proxy extra command line options.";
default = "";
-
type = str;
};
featureGates = mkOption {
···
extraOpts = mkOption {
description = "Kubernetes proxy extra command line options.";
default = "";
+
type = separatedString " ";
};
featureGates = mkOption {
+1 -1
nixos/modules/services/cluster/kubernetes/scheduler.nix
···
extraOpts = mkOption {
description = "Kubernetes scheduler extra command line options.";
default = "";
-
type = str;
};
featureGates = mkOption {
···
extraOpts = mkOption {
description = "Kubernetes scheduler extra command line options.";
default = "";
+
type = separatedString " ";
};
featureGates = mkOption {