-
Story
-
Resolution: Done
-
Minor
-
None
-
None
Owner: Architect:
Francesco Ilario
Story (Required)
As a Primaza developer, I would like Primaza to remove all its resources from service namespaces when they are removed from its control so that the namespace can be correctly cleaned up
Background (Required)
When a Cluster Environment is deleted, Primaza's resources should be removed from service namespaces.
This also applies when the namespace is removed from the Cluster Environment's service namespace list.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
In Scope
- Deletion of Primaza resources from service namespaces
Approach(Required)
An easy approach is to set the Agent's deployment as owner with cascading deletion of all Primaza resources.
This can be done in agent reconcilers for the resources that are pushed to service namespaces:
- Service Classes
Demo requirements(Required)
NA
Dependencies
NA
Edge Case
NA
BDD Tests
You can find BDD Test specification for this story in the "Testing Instruction" Field Tab or in the GitHub Issue linked to this story.
Click here for all BDD Tests Issues.
Acceptance Criteria
- Development
Service Classes are deleted from service namespace when namespace is deleted from Cluster Environment service namespaces list
Service Classes are deleted from service namespaces on Cluster Environment deletion
- QE
There are test cases for Service Classes deletion on removal of namespace from Cluster Environment service namespaces list
There are test cases for Service Classes deletion from Cluster Environment's service namespaces on Cluster Environment deletion
- Docs
There is a Section in the Cluster Environment docs dedicated to explaining service namespaces cleanup
Update architecture document with any changes while implementing
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
- is documented by
-
APPSVC-1312 Add Documentation for reconciling namespaces
- Closed
- is related to
-
APPSVC-1307 Cleanup application namespace
- Closed
- relates to
-
APPSVC-1324 On Svc Agent deletion, CRs with finalizers are not removed
- Closed