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,16 +1,16 @@
{kubenix ? import ../../../..}:
{ kubenix ? import ../../../.. }:
kubenix.evalModules.${builtins.currentSystem} {
module = {kubenix, ...}: {
imports = with kubenix.modules; [helm];
module = { kubenix, ... }: {
imports = [ kubenix.modules.helm ];
kubernetes.helm.releases.example = {
chart = kubenix.lib.helm.fetch {
chart = "nginx";
repo = "https://charts.bitnami.com/bitnami";
sha256 = "sha256-wP3tcBnySx+kvZqfW2W9k665oi8KOI50tCcAl0g9cuw=";
};
values = {
replicaCount = 2;
chart = "nginx";
version = "15.0.1";
sha256 = "sKVqx99O4SNIq5y8Qo/b/2xIqXqSsZJzrgnYYz/0TKg=";
};
# arbitrary attrset passed as values to the helm release
values.replicaCount = 2;
};
};
}