I am currently using garden to keep a staging environment up to date in our CI. (Github Actions)
Consecutive runs are "unaware" of each other and helm deployments fail because the k8s resources already exist.
As a dirty fix, I added a step that removes the entire staging namespace before each run.
I am aware that pushing the .garden folder to the repository would solve this as the context from previous runs is there.
But we use the same garden project for individual dev environments, and having a .garden folder pushed to the repo would therefore cause problems.
Is there a clean way to solve this problem?