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,11 +1,5 @@
{
config,
lib,
pkgs,
kubenix,
...
}: {
imports = with kubenix.modules; [k8s];
{ kubenix, ... }: {
imports = [ kubenix.modules.k8s ];
kubernetes.resources = {
deployments.nginx.spec = {
@ -56,13 +50,11 @@
};
services.nginx.spec = {
ports = [
{
name = "http";
port = 80;
}
];
selector.app = "nginx";
ports = [{
name = "http";
port = 80;
}];
};
};
}