mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 00:20:07 +01:00
add helm chart example
This commit is contained in:
parent
54c35f61a0
commit
5c5191680e
3 changed files with 18 additions and 1 deletions
16
docs/examples/helm-chart/default.nix
Normal file
16
docs/examples/helm-chart/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{evalModules}:
|
||||
(evalModules {
|
||||
module = {kubenix, ...}: {
|
||||
imports = with kubenix.modules; [helm];
|
||||
kubernetes.helm.instances.example = {
|
||||
chart = kubenix.lib.helm.fetch {
|
||||
chart = "nginx";
|
||||
repo = "https://charts.bitnami.com/bitnami";
|
||||
sha256 = "sha256-wP3tcBnySx+kvZqfW2W9k665oi8KOI50tCcAl0g9cuw=";
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
.config
|
||||
.kubernetes
|
||||
.result
|
||||
Loading…
Add table
Add a link
Reference in a new issue