redkubes/otomi-core

Team namespace should be recreated if they are manually deleted

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem
While testing a Disaster Recovery scenario we noticed an issue with a team namespace recreation.
What we did:
1 - Deleted a team namespace and all its resources (ex. team-demo)
2 - Run the otomi-pipeline (triggered by gitea webhook)
3 - Expected to see the namespace recreated by the pipeline but that did not happen

Describe the solution you'd like A clear and concise description of what you want to happen.
Running the pipeline should make sure that if the team namespace is not there, it must be recreated.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features
you've considered.
Checking the presence of the namespace and acting upon that or maybe running the namespace creation step independently of the changes in the file defining them.

Additional context Add any other context or screenshots about the feature request here.
It is important for the namespace to be created by the otomi-pipeline since it will add all needed labels and annotations.