Update Velero to 1.6.2
New image available in Ironbank & upstream helm chart available.
Note some of the modifications made from upstream:
- some changes to the jobs (disable sidecars, etc)
- additions of networkpolicies
- supporting CA bundle
- plugin values "pre-populated" in our values file
- anything else that looks like its there for a reason
Ensure that when pulling in the latest kpt update it does not overwrite these modifications, but still pulls in the latest for everything else. Typically doing a kpt update with --strategy alpha-git-patch
will work to do this.
Also check for updates to the commented out init/plugin containers. These should be updated as necessary both in the package and in BB values.
Definition of done:
-
Image version(s) updated in chart/values.yaml
-
Chart version bumped (match upstream chart, reset to bb.0 if the upstream version changes) -
Changelog entry added, note the update to image, any additional updates -
Clean install tested and validated working (see things to test) -
Upgrade tested and validated working (install newest tagged release, upgrade to your branch, then run through things to test) -
Pipeline passing on package MR -
Package MR merged and new release tagged -
BB MR opened, pipeline passing - BB MR merged (no checkbox, BB MR should auto-close this)
Things to test:
- Install with the k3d values or use the values set in dogfood (reach out if you need help with this - velero config can be tricky)
- Validate all pods come up and healthy
- Deploy the dogfood test yaml
kubectl apply -f ./velero_test.yaml
# exec into velero_test container
cat /mnt/velero-test/test.log
# take note of log entries and exit exec
- Create a backup
velero backup create velero-test-backup-your-name-here -l app=velero-test
velero backup get
kubectl delete -f ./velero_test.yaml
kubectl get pv | grep velero-test
kubectl delete pv INSERT-PV-ID
- Restore the backup
velero restore create velero-test-restore-your-name-here --from-backup velero-test-backup-your-name-here
# exec into velero_test container
cat /mnt/velero-test/test.log
# old log entires and new should be in log if backup was done correctly
Edited by Tunde Oladipupo