Skip to content

Commit

Permalink
kubernetes: kubelet.extraConfig should be attrsOf json.type (NixOS#…
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Jan 2, 2025
2 parents ccfdbc3 + 66ddf84 commit e931e77
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nixos/modules/services/cluster/kubernetes/kubelet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,14 @@ in
};

extraConfig = mkOption {
description = "Kubernetes kubelet extra configuration file entries.";
description = ''
Kubernetes kubelet extra configuration file entries.
See also [Set Kubelet Parameters Via A Configuration File](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/)
and [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/).
'';
default = { };
type = attrsOf attrs;
type = attrsOf ((pkgs.formats.json { }).type);
};

featureGates = mkOption {
Expand Down

0 comments on commit e931e77

Please sign in to comment.