Update instances on control planes when configuration changes #373
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
servala/servala-portal#373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stories
As a service operator, I want to make sure service instances adhere to hardcoded parameters when they change
Implementation Notes
One example use case: For Codey we hardcode
spec.parameters.service.majorVersion. Once a new Forgejo major version is out, we want to change the version number and make sure all Codey instances are upgraded accordingly.As a follow-up to #294: when certain parameters are changed in the Portal database, update all service instances on the control-planes to make sure the new parameters are adapted accordingly.
Implement this as an admin command that first compares the current instance configuration on the control-plane with the intended configuration from the portal, then shows a diff and asks for confirmation.
Basically, we need a reconciliation that makes sure that instances on the control plane reflect the configuration the portal assumes to be there. The portal is the source of truth for the mentioned hardcoded parameters; it's not intended that service configuration get changed on the control plane outside the portal.
Update service when hardcoded parameters changeto Update instances on control planes when configuration changes