kubenix
kubenix copied to clipboard
Kubernetes management with Nix
If Vals reports an error when replacing secrets refs, the `kubectl apply` should not be executed. Here is an example. I have a Kubernetes secret with a Vals ref that...
Hi, I wanted to try Kubenix, but I couldn't get the example to work. I have the following flake taken from the examples: ```nix { inputs.kubenix.url = "github:hall/kubenix"; outputs =...
Generated kubernetes module requires `protocol` in `Container.ports` which is not required by spec
Line https://github.com/hall/kubenix/blob/e4d036576436b9983216584a89388af3da995043/modules/generated/v1.27.nix#L5190 requires that `protocol` key be present in all helm generated Pod specifications. For example the following kubenix resource definition ```nix resources.pods.hello.spec = { containers = [ { name...
This makes it possible to "import" yaml files. Kinda like a basic Kustomization but without needing any CLI/tool. Reused a lot of stuff from the Helm module, so it works...
While doing some work on the [Piped Helm Chart](https://github.com/TeamPiped/Piped-Kubernetes), I realised that it relies on the `lookup` Helm function, which by default does not run when `helm template` is executed....
closes #46
Currently, if custom resources are being used, they have to be specified manually using `kubernetes.customTypes`. \ Furthermore, custom resources won't be validated at build time without manually defining a nix...
Let's say I have two simple resources: ```nix { kubernetes.resources.pods.web1.spec.containers.nginx.image = "nginx"; kubernetes.resources.pods.web2.spec.containers.nginx.image = "nginx"; } ``` Running this with `nix run .#kubenix` creates these resources. If I remove one...
Running the built-in deployer yields the following warning: ```cli # result/bin/kubenix W1128 21:21:52.260311 310470 prune.go:71] Deprecated: kubectl apply will no longer prune non-namespaced resources by default when used with the...
Support the more optimized way of building docker images. Uses `isExe` to differentiate between a prebuilt image or a command that spits out an image. See [sources][]. [sources]: https://github.com/NixOS/nixpkgs/blob/0dbb76220d1090753ba7919353c13b96d5969aff/pkgs/build-support/docker/default.nix#L1042-L1044