Open
Description
Is there an existing feature request for this?
- I have searched the existing feature requests
Is your feature request related to a problem or use-case? Please describe.
In shipwright-io/build#1603, a version migration script was added to the install/upgrade instructions. This script launches a kubernetes Job
that ensures all existing Shipwright Build objects use the v1beta1
API.
Describe the solution that you would like.
The operator should implement the script's logic within a controller. It should do the following:
- (optional) Determine if this is a new installation, or an upgrade.
- On upgrade (or always?), start the
Job
to initiate the migration - Reconcile and report status of the version migration
Job
.
Describe alternatives you have considered.
Keep as "manual instructions" when upgrading. This is not desired for an operator.
Anything else?
Question regarding the migration job - is this idempotent? Will it always succeed, even if there are no objects to update?
Metadata
Metadata
Assignees
Type
Projects
Status
Todo
Activity