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
This commit is contained in:
Bryton Hall 2023-07-07 00:33:25 -04:00 committed by GitHub
parent ccfd0d16c1
commit 07ba711056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 140 additions and 114 deletions

View file

@ -144,10 +144,10 @@
inherit (pkgs) kubernetes kubectl;
}
// {
cli = pkgs.callPackage ./pkgs/kubenix.nix {
default = pkgs.callPackage ./pkgs/kubenix.nix {
inherit (self.packages.${system});
evalModules = self.evalModules.${system};
};
default = self.packages.${system}.cli;
docs = import ./docs {
inherit pkgs;
options =