mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
fix(lib): split k8s functions to separate file
This commit is contained in:
parent
a6d4373fb2
commit
97826c01e4
3 changed files with 60 additions and 51 deletions
|
|
@ -6,7 +6,7 @@ with pkgs.lib;
|
|||
with import ./lib.nix { inherit pkgs; inherit (pkgs) lib; };
|
||||
|
||||
let
|
||||
evalKubernetesModules = configuration: evalModules {
|
||||
evalKubernetesModules = configuration: evalModules rec {
|
||||
modules = [
|
||||
(import ./kubernetes.nix {})
|
||||
./modules.nix configuration
|
||||
|
|
@ -14,7 +14,10 @@ let
|
|||
args = {
|
||||
inherit pkgs;
|
||||
name = "default";
|
||||
k8s = { inherit loadJSON loadYAML toYAML toBase64 octalToDecimal mkSecretOption secretToEnv; };
|
||||
k8s = import ./k8s.nix {
|
||||
inherit pkgs;
|
||||
inherit (pkgs) lib;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue