nixpkgs/nixos/modules/services/cluster
Christina Sørensen 32ca66f3ed
nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates
This is a breaking change, requiring users of `featureGates` to change
from a `listOf str` to `attrsOf bool`.

Before:
```nix
featureGates = [ "EphemeralContainers" ];
extraOpts = pkgs.lib.concatStringsSep " " (
[
  "--container-runtime=remote"
  ''--feature-gates="CSIMigration=false"''
});
```

After:
```nix
featureGates = {EphemeralContainers = true; CSIMigration=false;};
```

This is much nicer, and sets us up for later work of migrating to
configuration files for other services, like e.g. has been happening
with kubelet (see: #290119).

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-08-01 07:51:34 +02:00
..
corosync nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
druid nixos/druid: init module 2024-07-28 06:54:13 +00:00
hadoop nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
k3s nixos/k3s: add options for graceful node shutdown and kubelet config 2024-07-19 20:28:00 +02:00
kubernetes nixos/kubernetes: refactor feature gates to attrsOf bool, making it possible to disable featureGates 2024-08-01 07:51:34 +02:00
pacemaker nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
patroni nixos/patroni: remove raft 2024-07-04 10:22:19 +02:00
rke2 nixos/rke2: modify the systemd unit name to be consistent with the upstream 2024-06-21 10:50:41 +08:00
spark nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00