-
Notifications
You must be signed in to change notification settings - Fork 1
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
Deletion #76
Conversation
Tested it on synfra-dev:
|
TODO: handle the case where no files are in the repository. This currently seems not to work properly. |
I was able to fix the issue with the empty repository. |
Fixing this issue and testing against out dev environment shows, that the vault policies for the operator aren't yet correct. |
So now all the issues against the synfra cluster were resolved. @srueg ready to merge |
LGTM. Can you please rebase/merge |
Sure I'm squashing the commits anyways before merging. |
88eb58f
to
72e8b9d
Compare
This commit add logic to delete Git and Vault resources. There are two kinds of deletion for each resource: * soft deletion -> the resource can easily be restored if necessary * hard deletion -> the resource is completely deleted Also there's an annotation that is set by default, that prevents the operator from deleting resources. Please see the docs for more info. Resources will be deleted as soon as the k8s resource belonging to it is deleted!
Resolves #32