From 9c840cbaafd7dac88dbeae5cea05b83d9fb7c8e2 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Mon, 31 Mar 2025 21:22:29 -0400 Subject: [PATCH] Add simple README --- README.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.org diff --git a/README.org b/README.org new file mode 100644 index 0000000..3d42147 --- /dev/null +++ b/README.org @@ -0,0 +1,21 @@ +* Notes +- Taints and tolerations will likely not work without at least 2 nodes. +- Affinities based on hostnames will fail require matching names +- Secrets are stored in [[https://app.infisical.com/][Infisical]] so the similar secret structure is required. + +** Software requirements +- New enough ~kubectl~ to use ~kubectl ... -k~ for kustomize +- [[https://github.com/casey/just][just]] to run deploy/redeploy commands +- [[https://github.com/gopasspw/gopass][gopass]] with infisical ID+Secret under ~homelab/infisical/{id,secret}~ + +** Usage +These all leverage the kustomizations and shell scripts in ~deploy/~ +- ~just diff~ :: shows all changes based on kustomize +- ~just apply~ :: apply all changes +- ~just deploy~ :: apply all changes including infisical bootstrap secret +- ~just redeploy~ :: as above but recreates the bootstrap secret from keepass +- ~just infisical_bootstrap_secret [--recreate]~ :: Bootstrap secret but no + other steps + +Per namespace/app can be diff'd or applied via ~kubectl {diff, apply} -k +namespaces/[/[/]]~