-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
AppSvc Sprint 236
Owner: Architect:
Francesco Ilario
Story (Required)
As a Primaza Developer,
I would like Primaza to use CreateOrUpdate on Service Classes
so that Service Classes can be updated in service namespaces
Background (Required)
As of now, Primaza is just creating the Service Class in service namespaces.
That means that if a Service Class is updated in Primaza's Control Plane, it won't be updated in service namespaces.
We want to fill this gap, by implementing the update flow.
Discussion for PR 131 may be of interest.
See epic for arch document link.
Glossary
See glossary in architecture document
Out of scope
NA
In Scope
- update service class
Approach(Required)
We can leverage on controllerutil.CreateOrUpdate in pkg/primaza/controlplane/serviceclasses.go to easily implement this logic.
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
ServiceClass controller updates Service Classes in service namespaces
- QE
There are test cases for Service Classes update
- Docs
There is a page in our docs dedicated to explaining Service Classes update
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