kubenix
kubenix copied to clipboard
Unable to remove the last defined resource with bulit-in deploy tool
Let's say I have two simple resources:
{
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 line, say the web2 pod, it gets removed on the next run. However, if I then remove the line of the web1 pod, nothing happens and the pod is not removed.