Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to remove the last defined resource with bulit-in deploy tool #48

Open
pizzapim opened this issue Nov 28, 2023 · 0 comments
Open

Comments

@pizzapim
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant