2023-07-07 22:01:34 -04:00
|
|
|
{ kubenix ? import ../../../.. }:
|
2023-06-03 02:38:28 -04:00
|
|
|
kubenix.evalModules.${builtins.currentSystem} {
|
2023-07-07 22:01:34 -04:00
|
|
|
module = { kubenix, ... }: {
|
2023-06-03 02:38:28 -04:00
|
|
|
# instead of defining everything inline, let's import it
|
2023-07-07 22:01:34 -04:00
|
|
|
imports = [ ./module.nix ];
|
2022-08-29 02:04:47 -04:00
|
|
|
|
2023-06-03 02:38:28 -04:00
|
|
|
# annotate the generated resources with a project name
|
2022-08-29 02:04:47 -04:00
|
|
|
kubenix.project = "example";
|
2023-06-03 02:38:28 -04:00
|
|
|
# define a target api version to validate output
|
2022-08-29 02:04:47 -04:00
|
|
|
kubernetes.version = "1.24";
|
|
|
|
|
};
|
|
|
|
|
}
|