initial commit
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
commit
0078a09395
10 changed files with 1859 additions and 0 deletions
8
lib/generators/helmfile.nix
Normal file
8
lib/generators/helmfile.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
_: pkgs: content:
|
||||
pkgs.runCommand "helmfile" {} ''
|
||||
mkdir -p $out/helmfile
|
||||
cp ${(pkgs.formats.yaml {}).generate "helmfile.yaml" {
|
||||
repositories = content.repositories or [];
|
||||
releases = map (r: r // {chart = "${r.chart}";}) content.releases;
|
||||
}} $out/helmfile/helmfile.yaml
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue