1
0
Fork 0
mirror of https://git.sr.ht/~goorzhel/turboprop synced 2024-12-14 11:37:37 +00:00
Commit graph

268 commits

Author SHA1 Message Date
Antonio Gurgel
c95fec6476 Credit farcaller properly 2023-11-15 01:39:20 -08:00
Antonio Gurgel
a2abba2889 Ascend to godlike levels of genericness
charts/ and src/ both have two levels of children:
- charts/$repo/$chart
- src/$ns/$release

So, why not use one function to rake them both?

Also, the leaf-raking doesn't require nixpkgs or nix-kube-generators so
I moved everything that does (e.g.: `downloadCharts`) into the
`eachDefaultSystem` part of the output, following the example of
nixhelm's flake.
2023-11-15 01:36:46 -08:00
Antonio Gurgel
6ad3bf06e4 Template a single package 2023-11-15 00:34:07 -08:00
Antonio Gurgel
a28eda512f Refine output and establish vague direction 2023-11-14 23:58:37 -08:00
Antonio Gurgel
37cabf581d Fix app-template hash 2023-11-14 23:39:05 -08:00
Antonio Gurgel
2a784978f5 Don't redundantly pass nixpkgs
Why instantiate kubelib in `lib` when I have one in `flake.nix`?

Also, refactor `lib` so I understand it better. (It's straight copypasta
from `nixhelm`, and that bit me several times already.)
2023-11-14 23:37:27 -08:00
Antonio Gurgel
df4c58708f dumbass
`pkgs = nixpkgs` was my issue.
2023-11-14 23:33:58 -08:00
Antonio Gurgel
7c865e5674 More stupid typos; try building app-template
Stuck on `pkgs` missing `stdenv`, but how can that be if I fed `inherit
pkgs` to kubelib...?
2023-11-14 23:32:44 -08:00
Antonio Gurgel
d53fd11ca2 Just import pkgs from the flake; fix stupid typo 2023-11-14 23:28:54 -08:00
Antonio Gurgel
aada150c63 Try importing nixhelm's generator as a lib 2023-11-14 23:20:19 -08:00
Antonio Gurgel
d7ed2e4616 nix fmt 2023-11-14 22:55:56 -08:00
Antonio Gurgel
5c6de22ef1 rm Longhorn bundle
In favor of the Helm chart I'll eventually add.
2023-11-14 22:55:49 -08:00
Antonio Gurgel
35ce07abae Try per-namespace modules 2023-11-14 22:33:20 -08:00
Antonio Gurgel
a0441ea771 Lock flake 2023-11-14 22:15:44 -08:00
Antonio Gurgel
a14936684e fixup! Add flake 2023-11-14 22:15:40 -08:00
Antonio Gurgel
55d313dc6d Begin work on first application
I'm not putting all ten or twenty of my Helm releases in one file.
2023-11-14 22:09:23 -08:00
Antonio Gurgel
154cea3c09 Add flake
Chopped-down version of heywoodlh's.
2023-11-14 22:09:04 -08:00
Antonio Gurgel
a81e2fa3e4 Initial 2023-11-14 21:17:22 -08:00