Commit graph

28 commits

Author SHA1 Message Date
Luiz Ribeiro
a04066c455
Suffix PATH on kubenix script (#67)
Fixes #66

Setting the `PATH` to `$out/bin` is causing programs from the original `PATH` (such as `gpg`) to be inaccessible to `vals` - causing decryption of sops secrets with `gpg` to fail.
2024-06-11 08:57:23 -04:00
Cody McGinnis
b5dc95c847
allow kubeconfig to not be set (#65)
Co-authored-by: Cody McGinnis <cody@mcginnis.dev>
2024-06-04 14:06:09 -04:00
pizzapim
060f475729
Fix Bash expansion in kubeconfig path of CLI script (#63)
* Fix $HOME expansion in CLI script

* Allow overwriting kubeconfig at run-time of CLI script
2024-05-08 19:34:29 -04:00
pizzapim
c00c78b982
Package Kubenix script (#62)
* Package Kubenix script

* Update changelog

* Fix hardcoded kubeconfig

* Expose generated manifest with Kubenix CLI derivation passthru
2024-05-06 19:33:26 -04:00
Bryton Hall
f7f2df7119 remove local kubectl and kubernetes packages
A comment added in the original commit suggests these were only used as
more up-to-date versions relative to those in nixpkgs. That's no longer
the case and I'm not sure there's good reason to maintain theme here.

I'm happy to reconsider but will remove them for now.
2023-07-07 23:13:43 -04:00
Bryton Hall
2712e89716 switch formatting to nixpkgs-fmt 2023-07-07 22:01:49 -04:00
Bryton Hall
ef5f5b3c89 move generator jobs into pkgs 2023-07-07 17:50:26 -04:00
Bryton Hall
07ba711056
pkgs(kubenix): overhaul and drop support for the helm CLI (#24)
This is a relatively large re-design which

 - removes usage of the Helm CLI
 - expects users to override the default package
 - performs an interactive diff, confirm, apply by default
 - prunes removed resources
2023-07-07 00:33:25 -04:00
Bryton Hall
5d95447b75 pkgs(vals): remove in favor of nixpkgs derivation 2023-06-11 23:53:22 -04:00
Bryton Hall
f2dc3e2f63 pass --show-trace to nix with debug flag 2023-01-18 00:26:03 -05:00
Bryton Hall
c2ed155e66 helm: only upgrade when there are changes 2022-12-01 20:41:18 -05:00
Bryton Hall
844eca48a3 helm: make releases atomic 2022-12-01 20:41:10 -05:00
Bryton Hall
467dc14978
add support for vals (#11) 2022-09-15 21:49:08 -04:00
Bryton Hall
b015d6ac2a cli: expect platform-specific attributes 2022-09-12 23:18:20 -04:00
Bryton Hall
ee38caab0e use kubenix attr instead of k8s for cli 2022-08-31 21:35:57 -04:00
Bryton Hall
faad0c48ff add kubeconfig option 2022-08-31 21:35:36 -04:00
Bryton Hall
d24c6d0f35 remove resource specificity from tagline 2022-08-28 15:27:18 -04:00
Bryton Hall
e75b801a31
create static docs site with module options 2022-08-28 15:22:43 -04:00
Bryton Hall
8fec3d8f9e fix(cli): check if kubectl manifests file is empty 2022-08-16 10:26:51 -04:00
Bryton Hall
bbf6df097e helm create namespace during install 2022-08-16 01:56:27 -04:00
Bryton Hall
0f9a1b21c2 kubectl skip crds (assume from helm chart) 2022-08-16 01:56:08 -04:00
Bryton Hall
d6ae84c7c7 add helm cli functionality 2022-08-16 00:58:23 -04:00
Bryton Hall
9f0ae6e362 init cli docs 2022-08-15 20:41:06 -04:00
Bryton Hall
612fa7d53c init cli, add start of target docs 2022-08-12 09:44:00 -04:00
GTrunSec
f5d82afca7
add treefmt 2022-04-02 15:40:44 -07:00
GTrunSec
60592d3096
fmt 2022-04-02 12:40:35 -07:00
David Arnold
db6d83c61e
fmt 2021-05-13 17:33:58 -04:00
David Arnold
2026496ea0
inaugurate decent devshell 2021-04-29 17:13:33 -05:00