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

cleanup stale artifacts created by fetchit #240

Open
sallyom opened this issue Sep 1, 2022 · 0 comments
Open

cleanup stale artifacts created by fetchit #240

sallyom opened this issue Sep 1, 2022 · 0 comments

Comments

@sallyom
Copy link
Collaborator

sallyom commented Sep 1, 2022

To determine a stale artifact

  • compare list of fetchit-created files & services on the host against configTargets, if a file exists within known-list that is missing from configTarget, remove it from host & from the known-list
  • refresh known-list whenever config is updated
  • if unit file, also stop the service
  • if kube yaml, remove resources on host
  • playbook, ?
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