Open cooktheryan opened 2 years ago
in puppet one would first release a change with ensure: "absent"
on the resource before deleting it from the config file.
Another option is to have fetchit automatically stop any pods that it's not managing (which might be a valid design choice, but makes adopting fetchit troublesome, because it'll immediately stop everything you've already set up if you run it even once to try it)
Right now if you remove a method is removed from a configuration file the item just runs forever without ever getting cleaned up and is lost from FetchIt configuration. We can get around this by first removing the container definition from git and then removing the configuration value.