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

Unbind operation should be atomic #16

Open
indradhanush opened this issue Apr 24, 2018 · 0 comments
Open

Unbind operation should be atomic #16

indradhanush opened this issue Apr 24, 2018 · 0 comments

Comments

@indradhanush
Copy link
Contributor

Currently in the unbind operation we do the following:

  • update the Habitat CRD
  • delete the kubernetes secret

If the first step succeeds and the second step fails, that leaves the cluster in an inconsistent state while also marking the unbind operation as unsuccessful. We should find out ways to undo and restore things as they were in case of a failure.

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