mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
16 lines
515 B
Nix
16 lines
515 B
Nix
{kubenix ? import ../../../..}:
|
|
kubenix.evalModules.${builtins.currentSystem} {
|
|
module = {kubenix, ...}: {
|
|
imports = [kubenix.modules.helm];
|
|
kubernetes.helm.releases.example = {
|
|
chart = kubenix.lib.helm.fetch {
|
|
repo = "https://charts.bitnami.com/bitnami";
|
|
chart = "nginx";
|
|
version = "15.0.1";
|
|
sha256 = "sKVqx99O4SNIq5y8Qo/b/2xIqXqSsZJzrgnYYz/0TKg=";
|
|
};
|
|
# arbitrary attrset passed as values to the helm release
|
|
values.replicaCount = 2;
|
|
};
|
|
};
|
|
}
|