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

fix: update namespace creation and deletion logic #72

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

deviantony
Copy link
Member

This PR changes the way the namespace creation process occurs from asynchronous to synchronous. This is to ensure that the underlying Docker network is always created first before any validation of namespace and creation of resources happens.

It also updates the DELETE resource operation to remove the namespace validation. This is a temporary fix while we keep the current controller logic. It is being removed because most of the clients such as kubectl will call DELETE operations sequentially and the namespace is usually the first item to be deleted from a manifest - causing other subsequent DELETE operations to fail on the namespace validation.

Related to #68

@deviantony deviantony mentioned this pull request Oct 11, 2023
5 tasks
@deviantony deviantony merged commit 05661e0 into develop Oct 11, 2023
1 check passed
@deviantony deviantony deleted the fix68-namespace-validation branch October 11, 2023 16:11
@deviantony deviantony linked an issue Oct 11, 2023 that may be closed by this pull request
5 tasks
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

Successfully merging this pull request may close these issues.

Known issues for 1.0.0-beta
1 participant