Unverified Commit e931e77e authored by Emily's avatar Emily Committed by GitHub
Browse files

kubernetes: kubelet.extraConfig should be `attrsOf json.type` (#366592)

parents ccfdbc34 66ddf84c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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 {