kubenix/docs/content/examples/helm/default.nix

17 lines
458 B
Nix
Raw Normal View History

2022-08-29 02:04:47 -04:00
{kubenix ? import ../../../..}:
kubenix.evalModules.${builtins.currentSystem} {
2022-08-15 01:27:50 -04:00
module = {kubenix, ...}: {
imports = with kubenix.modules; [helm];
2022-08-15 09:46:23 -04:00
kubernetes.helm.releases.example = {
2022-08-15 01:27:50 -04:00
chart = kubenix.lib.helm.fetch {
chart = "nginx";
repo = "https://charts.bitnami.com/bitnami";
sha256 = "sha256-wP3tcBnySx+kvZqfW2W9k665oi8KOI50tCcAl0g9cuw=";
};
2022-08-29 02:04:47 -04:00
values = {
replicaCount = 2;
};
2022-08-15 01:27:50 -04:00
};
};
2022-08-29 02:04:47 -04:00
}