containers / fetchit

FetchIt is used to manage the life cycle and configuration of Podman containers
https://fetchit.readthedocs.io/
GNU Affero General Public License v3.0
124 stars 23 forks source link

If a method is removed the deployed items are not cleaned up #252

Open cooktheryan opened 2 years ago

cooktheryan commented 2 years ago

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.

guest20 commented 1 year 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)