Add extraConfig option
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, cluster, customize ? {}, lib, config, ... }:
|
||||
{ pkgs, cluster, customize ? {}, extraConfig ? {}, lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = cluster;
|
||||
@@ -43,7 +43,7 @@ in {
|
||||
|
||||
services.kubernetes.kubelet.extraSANs = mkSANs host;
|
||||
|
||||
imports = [ host.hw ./modules.nix ../overrides/kubelet.nix ];
|
||||
imports = [ host.hw extraConfig ./modules.nix ../overrides/kubelet.nix ];
|
||||
};
|
||||
|
||||
node = host: self: {
|
||||
@@ -62,7 +62,7 @@ in {
|
||||
|
||||
services.kubernetes.kubelet.extraSANs = mkSANs host;
|
||||
|
||||
imports = [ host.hw ./modules.nix ../overrides/kubelet.nix ];
|
||||
imports = [ host.hw extraConfig ./modules.nix ../overrides/kubelet.nix ];
|
||||
};
|
||||
|
||||
mkDeployment = top:
|
||||
@@ -92,7 +92,7 @@ in {
|
||||
}
|
||||
];
|
||||
|
||||
imports = [ host.hw ./modules.nix ];
|
||||
imports = [ host.hw extraConfig ./modules.nix ];
|
||||
};
|
||||
|
||||
mkDeployment = top: nodes:
|
||||
@@ -117,7 +117,7 @@ in {
|
||||
}
|
||||
];
|
||||
|
||||
imports = [ host.hw ./modules.nix ];
|
||||
imports = [ host.hw extraConfig ./modules.nix ];
|
||||
};
|
||||
|
||||
mkDeployment = top: nodes:
|
||||
|
||||
Reference in New Issue
Block a user