diff options
| author | Christina Sørensen <christina@cafkafk.com> | 2024-07-17 09:10:17 +0200 |
|---|---|---|
| committer | Christina Sørensen <christina@cafkafk.com> | 2024-08-01 07:51:34 +0200 |
| commit | 32ca66f3edd386cce6c4e619c2b9aa0b8b0cd95c (patch) | |
| tree | 26409da365d4c9f2fd9080e316c1a49815470996 /pkgs/development/python-modules/httpserver | |
| parent | 8cf30df9384388c81f9c8c58f2371bb75c7c46a5 (diff) | |
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>
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
