mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
12 lines
386 B
Nix
12 lines
386 B
Nix
{kubenix ? import ../../../..}:
|
|
kubenix.evalModules.${builtins.currentSystem} {
|
|
module = {kubenix, ...}: {
|
|
# instead of defining everything inline, let's import it
|
|
imports = [./module.nix];
|
|
|
|
# annotate the generated resources with a project name
|
|
kubenix.project = "example";
|
|
# define a target api version to validate output
|
|
kubernetes.version = "1.24";
|
|
};
|
|
}
|