docs: cleanup, fix links, add comments

This commit is contained in:
Bryton Hall 2023-06-03 02:38:28 -04:00
parent 8d10d79cfe
commit 95504f4c3b
12 changed files with 65 additions and 82 deletions

View file

@ -1,9 +1,12 @@
{kubenix ? import ../../../..}:
kubenix.evalModules.x86_64-linux {
module = {kubenix, ...}: {
imports = [./module.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";
};
}