armada/doc/source/operations/documents/migration-v1-v2.rst

4.3 KiB

v1-v2 Migration

The following migrations must be done when moving from v1 <document_authoring_v1> to v2 <document_authoring_v2> docs.

Chart

change migration
chart_name removed Remove. It was redundant with metadata.name while at the same time not guaranteeing uniqueness. Log messages now reference metadata.name for improved grep-ability.
test as a boolean removed test <test_v2> must now be an object.
timeout removed Use wait.timeout instead.
install removed Remove. Previously unused.
upgrade.post removed Remove.
upgrade.pre.update removed Remove.
upgrade.pre.create removed Remove.
upgrade.pre.delete[*].name removed Remove.
upgrade.pre.delete[*] with type: job no longer deletes cronjobs If you have an item in upgrade.pre.delete and type: job and you also want to delete cronjobs, add another item with type: cronjob and same labels.
dependencies, upgrade.no_hooks, source.subpath now optional Remove as desired.

ChartGroup

change migration
test_charts removed Use the Chart schema's test.enabled <test_v2> instead.

Manifest

No changes.