You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
After some thinking there is one downside to the resource-state annotation approach: If someone were to kubectl apply -f the git folder it would recreate deleted items. An alternative may be to create a Tombstone CRD that describe a resource to be deleted. So deletion would be two step process: 1) removing the file that contains the resource that you want deleted and 2) creating a Tombstone with the name, kind, and namespace (if applicable) of the object that should be deleted.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A misconfiguration in Faros or the GitOps repository it watches could potentially lead to all resources managed by Faros being deleted.
When the branch name or subpath was changed in the repository or the branch name or subpath was changed in
GitTrack
:.yaml files
(can be empty) → all cluster resources not in Git folder will be deletedProposal:
We propose to be more explicit about deletes, and therefore propose to introduce a
DeleteStrategy
at theGitTrack
level.DeleteStrategy
can be one of the following:cleanup
: the currently implemented behavior, deleting resources that no longer exist in the repository (default)resource-state
: resource-specific annotation (similar to our previous PR)never
: for production environments that don’t expect deletes to ever happenThe text was updated successfully, but these errors were encountered: