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

Amalthea should clean up after itself if create_fn failed #392

Open
Panaetius opened this issue Sep 8, 2023 · 0 comments
Open

Amalthea should clean up after itself if create_fn failed #392

Panaetius opened this issue Sep 8, 2023 · 0 comments

Comments

@Panaetius
Copy link
Member

Currently, if create_fn fails creating some resource, amalthea will just try again. But if e.g. creation of the service resource succeeded, all subsequent runs will fails with a CONFLICT because the service already exists. This also hides any original error message on the CRD with the CONFLICT error.

If the create_fn fails, it should delete all created resources so a subsequent try can start from a blank slate.

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