-
Notifications
You must be signed in to change notification settings - Fork 823
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
Delete crds, and fleets, gameservers etc on deletion of Helm chart #437
Delete crds, and fleets, gameservers etc on deletion of Helm chart #437
Conversation
Build Failed 😱 Build Id: c6bdb886-aad1-4d0e-af14-04054464b0bb Build Logs
|
Build Succeeded 👏 Build Id: ae5b205b-23ad-4c73-b90b-4b79dd0064db The following development artifacts have been built, and will exist for the next 30 days:
To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
- name: script | ||
configMap: | ||
name: delete-crds | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: I think there is some missing carrier return in some files.
You need to rebase and squash btw. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor addition as well, otherwise lgtm
@@ -0,0 +1,30 @@ | |||
#!/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file needs a licence header 👍
fbdb3fa
to
aa692be
Compare
Build Succeeded 👏 Build Id: 8556d697-9e1d-4972-a45b-d63864f2f2f2 The following development artifacts have been built, and will exist for the next 30 days:
To install this version:
|
This implements helm hooks to delete all Agones resources and CRDs when uninstalling our chart.
Deletion of resources is done in a pre-delete hook while crds are deleted in a post-delete hook. Had to add a new service account and a few other resources to accomplish it.
Fixes #426