Releases: vmware-tanzu/velero
v1.5.2
v1.5.2
2020-10-20
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.5.2
Container Image
velero/velero:v1.5.2
Documentation
Upgrading
https://velero.io/docs/v1.5/upgrade-to-1.5/
All Changes
- Fix BSL controller to avoid invoking init() on all BSLs regardless of ValidationFrequency (#2992, @betta1)
- cli: allow creating multiple instances of Velero across two different namespaces (#2886, @alaypatel07)
- Restore CRD Resource name to fix CRD wait functionality. (#2949, @sseago)
- Ensure that bound PVCs and PVs remain bound on restore. (#3007, @nrb). This fixes CVE-2020-3996.
v1.5.1
2020-09-16
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.5.1
Container Image
velero/velero:v1.5.1
Documentation
Upgrading
https://velero.io/docs/v1.5/upgrade-to-1.5/
Highlights
- Auto Volume Backup Using Restic with
--default-volumes-to-restic
flag - DeleteItemAction plugins
- Code modernization
- Restore Hooks: InitContianer Restore Hooks and Exec Restore Hooks
All Changes
- 🏃♂️ add shortnames for CRDs (#2911, @ashish-amarnath)
- Use format version instead of version on
velero backup describe
since version has been deprecated (#2901, @jenting) - fix EnableAPIGroupersions output log format (#2882, @jenting)
- Convert ServerStatusRequest controller to kubebuilder (#2838, @carlisia)
- rename the PV if VolumeSnapshotter has modified the PV name (#2835, @pawanpraka1)
- Implement post-restore exec hooks in pod containers (#2804, @areed)
- Check for errors on restic backup command (#2863, @dymurray)
- 🐛 fix passing LDFLAGS across build stages (#2853, @ashish-amarnath)
- Feature: Invoke DeleteItemAction plugins based on backup contents when a backup is deleted. (#2815, @nrb)
- When JSON logging format is enabled, place error message at "error.message" instead of "error" for compatibility with Elasticsearch/ELK and the Elastic Common Schema (#2830, @bgagnon)
- discovery Helper support get GroupVersionResource and an APIResource from GroupVersionKind (#2764, @runzexia)
- Migrate site from Jekyll to Hugo (#2720, @tbatard)
- Add the DeleteItemAction plugin type (#2808, @nrb)
- 🐛 Manually patch the generated yaml for restore CRD as a hacky workaround (#2814, @ashish-amarnath)
- Setup crd validation github action on k8s versions (#2805, @ashish-amarnath)
- 🐛 Supply command to run restic-wait init container (#2802, @ashish-amarnath)
- Make init and exec restore hooks as optional in restore hookSpec (#2793, @ashish-amarnath)
- Implement restore hooks injecting init containers into pod spec (#2787, @ashish-amarnath)
- Pass default-volumes-to-restic flag from create schedule to backup (#2776, @ashish-amarnath)
- Enhance Backup to support backing up resources in specific orders and add --ordered-resources option to support this feature. (#2724, @phuong)
- Fix inconsistent type for the "resource" structured logging field (#2796, @bgagnon)
- Add the ability to set the allowPrivilegeEscalation flag in the securityContext for the Restic restore helper. (#2792, @doughepi)
- Add cacert flag for velero backup-location create (#2778, @jenting)
- Exclude volumes mounting secrets and configmaps from defaulting volume backups to restic (#2762, @ashish-amarnath)
- Add types to implement restore hooks (#2761, @ashish-amarnath)
- Add wait group and error channel for restore hooks to restore context. (#2755, @areed)
- Refactor image builds to use buildx for multi arch image building (#2754, @RobReus)
- Add annotation key constants for restore hooks (#2750, @ashish-amarnath)
- Adds Start and CompletionTimestamp to RestoreStatus
Displays the Timestamps when issued a print or describe (#2748, @thejasbabu) - Move pkg/backup/item_hook_handlers.go to internal/hook (#2734, @nrb)
- add metrics for restic back up operation (#2719, @ashish-amarnath)
- StorageGrid compatibility by removing explicit gzip accept header setting (#2712, @fvsqr)
- restic: add support for setting SecurityContext (runAsUser, runAsGroup) for restore (#2621, @jaygridley)
- Add backupValidationFailureTotal to metrics (#2714, @kathpeony)
- bump Kubernetes module dependencies to v0.18.4 to fix #2540 by adding code compatibility with kubernetes v1.18 (#2651, @laverya)
- Add a BSL controller to handle validation + update BSL status phase (validation removed from the server and no longer blocks when there's any invalid BSL) (#2674, @carlisia)
- updated acceptable values on cron schedule from 0-7 to 0-6 (#2676, @DThrasher)
- Improve velero download doc (#2660, @carlisia)
- Update basic-install and release-instructions documentation for Windows Chocolatey package (#2638, @adamrushuk)
- move CSI plugin out of prototype into beta (#2636, @ashish-amarnath)
- Add a new supported provider for an object storage plugin for Storj (#2635, @JessicaGreben)
- Update basic-install.md documentation: Add windows cli installation option via chocolatey (#2629, @adamrushuk)
- Documentation: Update Jekyll to 4.1.0. Switch from redcarpet to kramdown for Markdown renderer (#2625, @tbatard)
- improve builder image handling so that we don't rebuild each
make shell
(#2620, @mauilion)- first check if there are pending changed on the build-image dockerfile if so build it.
- then check if there is an image in the registry if so pull it.
- then build an image cause we don't have a cached image. (this handles the backward compat case.)
- fix make clean to clear go mod cache before removing dirs (for containerized builds)
- Add linter checks to Makefile (#2615, @tbatard)
- add a CI check for a changelog file (#2613, @ashish-amarnath)
- implement option to back up all volumes by default with restic (#2611, @ashish-amarnath)
- When a timeout string can't be parsed, log the error as a warning instead of silently consuming the error. (#2610, @nrb)
- Azure: support using
aad-pod-identity
auth when using restic (#2602, @skriss) - log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- when creating new backup from schedule from cli, allow backup name to be automatically generated (#2569, @cblecker)
- Convert manifests + BSL api client to kubebuilder (#2561, @carlisia)
- backup/restore: reinstantiate backup store just before uploading artifacts to ensure credentials are up-to-date (#2550, @skriss)
v1.4.3
v1.4.3
2020-10-20
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.3
Container Image
velero/velero:v1.4.3
Documentation
Upgrading
https://velero.io/docs/v1.4/upgrade-to-1.4/
All Changes
- Restore CRD Resource name to fix CRD wait functionality. (#2949, @sseago)
- rename the PV if VolumeSnapshotter has modified the PV name (#2835, @pawanpraka1)
- Ensure that bound PVCs and PVs remain bound on restore. (#3007, @nrb). This fixes CVE-2020-3996.
v1.4.2
2020-07-13
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.2
Container Image
velero/velero:v1.4.2
Documentation
Upgrading
https://velero.io/docs/v1.4/upgrade-to-1.4/
All Changes
- log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb)
- capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath)
v1.4.1
This tag was created in code, but has no associated docker image due to misconfigured building infrastructure. v1.4.2 fixes this.
v1.4.0
2020-05-26
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.0
Container Image
velero/velero:v1.4.0
Documentation
Upgrading
https://velero.io/docs/v1.4/upgrade-to-1.4/
Highlights
- Added beta-level CSI support!
- Added custom CA certificate support
- Backup progress reporting
- Changed backup tarball format to support all versions of a given resource
All Changes
- increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath)
- Add details of CSI volumesnapshotcontents associated with a backup to
velero backup describe
when theEnableCSI
feature flag is given on the velero client. (#2448, @nrb) - Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the
EnableAPIGroupVersions
feature flag. (#2373, @brito-rafa) - Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa)
- allow feature flags to be passed from install CLI (#2503, @ashish-amarnath)
- sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath)
- bug fix: in error location logging hook, if the item logged under the
error
key doesn't implement theerror
interface, don't return an error since this is a valid scenario (#2487, @skriss) - bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss)
- during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath)
- If plugins don't support the
--features
flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) - At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb)
- update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss)
- bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss)
- Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley)
- Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with
--snapshot-volumes=false
(#2450, @mynktl) - report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss)
- bug fix: populate namespace in logs for backup errors (#2438, @skriss)
- during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath)
- bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss)
- bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss)
- Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl)
- Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam)
- Added a
--cacert
flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option calledcacert
which takes a path to a certificate bundle to use as a default when--cacert
is not specified. (#2364, @mansam) - support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam)
- adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa)
- When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb)
- add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath)
- refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss)
- refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss)
- upgrade to go 1.14 and migrate from
dep
to go modules (#2214, @skriss) - clarify the wording for restore describe for namespaces included
v1.5.1
v1.5.1
2020-09-16
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.5.1
Container Image
velero/velero:v1.5.1
Documentation
Upgrading
https://velero.io/docs/v1.5/upgrade-to-1.5/
Highlights
- Auto Volume Backup Using Restic with
--default-volumes-to-restic
flag - DeleteItemAction plugins
- Code modernization
- Restore Hooks: InitContianer Restore Hooks and Exec Restore Hooks
All Changes
- 🏃♂️ add shortnames for CRDs (#2911, @ashish-amarnath)
- Use format version instead of version on
velero backup describe
since version has been deprecated (#2901, @jenting) - fix EnableAPIGroupersions output log format (#2882, @jenting)
- Convert ServerStatusRequest controller to kubebuilder (#2838, @carlisia)
- rename the PV if VolumeSnapshotter has modified the PV name (#2835, @pawanpraka1)
- Implement post-restore exec hooks in pod containers (#2804, @areed)
- Check for errors on restic backup command (#2863, @dymurray)
- 🐛 fix passing LDFLAGS across build stages (#2853, @ashish-amarnath)
- Feature: Invoke DeleteItemAction plugins based on backup contents when a backup is deleted. (#2815, @nrb)
- When JSON logging format is enabled, place error message at "error.message" instead of "error" for compatibility with Elasticsearch/ELK and the Elastic Common Schema (#2830, @bgagnon)
- discovery Helper support get GroupVersionResource and an APIResource from GroupVersionKind (#2764, @runzexia)
- Migrate site from Jekyll to Hugo (#2720, @tbatard)
- Add the DeleteItemAction plugin type (#2808, @nrb)
- 🐛 Manually patch the generated yaml for restore CRD as a hacky workaround (#2814, @ashish-amarnath)
- Setup crd validation github action on k8s versions (#2805, @ashish-amarnath)
- 🐛 Supply command to run restic-wait init container (#2802, @ashish-amarnath)
- Make init and exec restore hooks as optional in restore hookSpec (#2793, @ashish-amarnath)
- Implement restore hooks injecting init containers into pod spec (#2787, @ashish-amarnath)
- Pass default-volumes-to-restic flag from create schedule to backup (#2776, @ashish-amarnath)
- Enhance Backup to support backing up resources in specific orders and add --ordered-resources option to support this feature. (#2724, @phuong)
- Fix inconsistent type for the "resource" structured logging field (#2796, @bgagnon)
- Add the ability to set the allowPrivilegeEscalation flag in the securityContext for the Restic restore helper. (#2792, @doughepi)
- Add cacert flag for velero backup-location create (#2778, @jenting)
- Exclude volumes mounting secrets and configmaps from defaulting volume backups to restic (#2762, @ashish-amarnath)
- Add types to implement restore hooks (#2761, @ashish-amarnath)
- Add wait group and error channel for restore hooks to restore context. (#2755, @areed)
- Refactor image builds to use buildx for multi arch image building (#2754, @RobReus)
- Add annotation key constants for restore hooks (#2750, @ashish-amarnath)
- Adds Start and CompletionTimestamp to RestoreStatus
Displays the Timestamps when issued a print or describe (#2748, @thejasbabu) - Move pkg/backup/item_hook_handlers.go to internal/hook (#2734, @nrb)
- add metrics for restic back up operation (#2719, @ashish-amarnath)
- StorageGrid compatibility by removing explicit gzip accept header setting (#2712, @fvsqr)
- restic: add support for setting SecurityContext (runAsUser, runAsGroup) for restore (#2621, @jaygridley)
- Add backupValidationFailureTotal to metrics (#2714, @kathpeony)
- bump Kubernetes module dependencies to v0.18.4 to fix #2540 by adding code compatibility with kubernetes v1.18 (#2651, @laverya)
- Add a BSL controller to handle validation + update BSL status phase (validation removed from the server and no longer blocks when there's any invalid BSL) (#2674, @carlisia)
- updated acceptable values on cron schedule from 0-7 to 0-6 (#2676, @DThrasher)
- Improve velero download doc (#2660, @carlisia)
- Update basic-install and release-instructions documentation for Windows Chocolatey package (#2638, @adamrushuk)
- move CSI plugin out of prototype into beta (#2636, @ashish-amarnath)
- Add a new supported provider for an object storage plugin for Storj (#2635, @JessicaGreben)
- Update basic-install.md documentation: Add windows cli installation option via chocolatey (#2629, @adamrushuk)
- Documentation: Update Jekyll to 4.1.0. Switch from redcarpet to kramdown for Markdown renderer (#2625, @tbatard)
- improve builder image handling so that we don't rebuild each
make shell
(#2620, @mauilion)- first check if there are pending changed on the build-image dockerfile if so build it.
- then check if there is an image in the registry if so pull it.
- then build an image cause we don't have a cached image. (this handles the backward compat case.)
- fix make clean to clear go mod cache before removing dirs (for containerized builds)
- Add linter checks to Makefile (#2615, @tbatard)
- add a CI check for a changelog file (#2613, @ashish-amarnath)
- implement option to back up all volumes by default with restic (#2611, @ashish-amarnath)
- When a timeout string can't be parsed, log the error as a warning instead of silently consuming the error. (#2610, @nrb)
- Azure: support using
aad-pod-identity
auth when using restic (#2602, @skriss) - log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- when creating new backup from schedule from cli, allow backup name to be automatically generated (#2569, @cblecker)
- Convert manifests + BSL api client to kubebuilder (#2561, @carlisia)
- backup/restore: reinstantiate backup store just before uploading artifacts to ensure credentials are up-to-date (#2550, @skriss)
v1.5.0-rc.1
v1.5.0-rc.1
2020-09-09
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.5.0-rc.1
Container Image
velero/velero:v1.5.0-rc.1
Documentation
https://velero.io/docs/v1.5.0-rc.1/
Upgrading
https://velero.io/docs/v1.5.0-rc.1/upgrade-to-1.5/
Highlights
- Auto Volume Backup Using Restic with
--default-volumes-to-restic
flag - DeleteItemAction plugins
- Code modernization
- Restore Hooks: InitContianer Restore Hooks and Exec Restore Hooks
All Changes
- Use format version instead of version on
velero backup describe
since version has been deprecated (#2901, @jenting) - Implement post-restore exec hooks in pod containers (#2804, @areed)
- rename the PV if VolumeSnapshotter has modified the PV name (#2835, @pawanpraka1)
- fix EnableAPIGroupersions output log format (#2882, @jenting)
- Convert ServerStatusRequest controller to kubebuilder (#2838, @carlisia)
- Check for errors on restic backup command (#2863, @dymurray)
- 🐛 fix passing LDFLAGS across build stages (#2853, @ashish-amarnath)
- Feature: Invoke DeleteItemAction plugins based on backup contents when a backup is deleted. (#2815, @nrb)
- When JSON logging format is enabled, place error message at "error.message" instead of "error" for compatibility with Elasticsearch/ELK and the Elastic Common Schema (#2830, @bgagnon)
- Add the DeleteItemAction plugin type (#2808, @nrb)
- discovery Helper support get GroupVersionResource and an APIResource from GroupVersionKind (#2764, @runzexia)
- 🐛 Manually patch the generated yaml for restore CRD as a hacky workaround (#2814, @ashish-amarnath)
- Pass default-volumes-to-restic flag from create schedule to backup (#2776, @ashish-amarnath)
- Enhance Backup to support backing up resources in specific orders and add --ordered-resources option to support this feature. (#2724, @phuong)
- Migrate site from Jekyll to Hugo (#2720, @tbatard)
- Setup crd validation github action on k8s versions (#2805, @ashish-amarnath)
- 🐛 Supply command to run restic-wait init container (#2802, @ashish-amarnath)
- Make init and exec restore hooks as optional in restore hookSpec (#2793, @ashish-amarnath)
- Implement restore hooks injecting init containers into pod spec (#2787, @ashish-amarnath)
- Fix inconsistent type for the "resource" structured logging field (#2796, @bgagnon)
- Add the ability to set the allowPrivilegeEscalation flag in the securityContext for the Restic restore helper. (#2792, @doughepi)
- Add cacert flag for velero backup-location create (#2778, @jenting)
- Exclude volumes mounting secrets and configmaps from defaulting volume backups to restic (#2762, @ashish-amarnath)
- Add types to implement restore hooks (#2761, @ashish-amarnath)
- Add wait group and error channel for restore hooks to restore context. (#2755, @areed)
- Refactor image builds to use buildx for multi arch image building (#2754, @RobReus)
- Add annotation key constants for restore hooks (#2750, @ashish-amarnath)
- Adds Start and CompletionTimestamp to RestoreStatus
Displays the Timestamps when issued a print or describe (#2748, @thejasbabu) - Move pkg/backup/item_hook_handlers.go to internal/hook (#2734, @nrb)
- add metrics for restic back up operation (#2719, @ashish-amarnath)
- StorageGrid compatibility by removing explicit gzip accept header setting (#2712, @fvsqr)
- restic: add support for setting SecurityContext (runAsUser, runAsGroup) for restore (#2621, @jaygridley)
- Convert manifests + BSL api client to kubebuilder (#2561, @carlisia)
- Add linter checks to Makefile (#2615, @tbatard)
- improve builder image handling so that we don't rebuild each
make shell
first check if there are pending changed on the build-image dockerfile if so build it.
then check if there is an image in the registry if so pull it.
then build an image cause we don't have a cached image. (this handles the backward compat case.)
fix make clean to clear go mod cache before removing dirs (for containerized builds) (#2620, @mauilion) - bump Kubernetes module dependencies to v0.18.4 to fix #2540 by adding code compatibility with kubernetes v1.18 (#2651, @laverya)
- Add a BSL controller to handle validation + update BSL status phase (validation removed from the server and no longer blocks when there's any invalid BSL) (#2674, @carlisia)
- updated acceptable values on cron schedule from 0-7 to 0-6 (#2676, @DThrasher)
- Add backupValidationFailureTotal to metrics (#2714, @kathpeony)
- move CSI plugin out of prototype into beta (#2636, @ashish-amarnath)
- Improve velero download doc (#2660, @carlisia)
- log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- Azure: support using
aad-pod-identity
auth when using restic (#2602, @skriss) - When a timeout string can't be parsed, log the error as a warning instead of silently consuming the error. (#2610, @nrb)
- implement option to back up all volumes by default with restic (#2611, @ashish-amarnath)
- add a CI check for a changelog file (#2613, @ashish-amarnath)
- Documentation: Update Jekyll to 4.1.0
- Switch from redcarpet to kramdown for Markdown renderer (#2625, @tbatard)
- Update basic-install.md documentation: Add windows cli installation option via chocolatey (#2629, @adamrushuk)
- Add a new supported provider for an object storage plugin for Storj (#2635, @JessicaGreben)
- Update basic-install and release-instructions documentation for Windows Chocolatey package (#2638, @adamrushuk)
- backup/restore: reinstantiate backup store just before uploading artifacts to ensure credentials are up-to-date (#2550, @skriss)
- when creating new backup from schedule from cli, allow backup name to be automatically generated (#2569, @cblecker)
v1.5.0-beta.1
v1.5.0-beta.1
2020-08-21
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.5.0-beta.1
Container Image
velero/velero:v1.5.0-beta.1
Documentation
https://velero.io/docs/v1.5-pre/
Upgrading
https://velero.io/docs/v1.5-pre/upgrade-to-1.5/
Highlights
- Auto Volume Backup Using Restic with
--default-volumes-to-restic
flag - DeleteItemAction plugins
- Code modernization
- Sneak preview - restore hooks using init containers
All Changes
- Feature: Invoke DeleteItemAction plugins based on backup contents when a backup is deleted. (#2815, @nrb)
- When JSON logging format is enabled, place error message at "error.message" instead of "error" for compatibility with Elasticsearch/ELK and the Elastic Common Schema (#2830, @bgagnon)
- discovery Helper support get GroupVersionResource and an APIResource from GroupVersionKind (#2764, @runzexia)
- Migrate site from Jekyll to Hugo (#2720, @tbatard)
- Add the DeleteItemAction plugin type (#2808, @nrb)
- 🐛 Manually patch the generated yaml for restore CRD as a hacky workaround (#2814, @ashish-amarnath)
- Setup crd validation github action on k8s versions (#2805, @ashish-amarnath)
- 🐛 Supply command to run restic-wait init container (#2802, @ashish-amarnath)
- Make init and exec restore hooks as optional in restore hookSpec (#2793, @ashish-amarnath)
- Implement restore hooks injecting init containers into pod spec (#2787, @ashish-amarnath)
- Pass default-volumes-to-restic flag from create schedule to backup (#2776, @ashish-amarnath)
- Enhance Backup to support backing up resources in specific orders and add --ordered-resources option to support this feature. (#2724, @phuong)
- Fix inconsistent type for the "resource" structured logging field (#2796, @bgagnon)
- Add the ability to set the allowPrivilegeEscalation flag in the securityContext for the Restic restore helper. (#2792, @doughepi)
- Add cacert flag for velero backup-location create (#2778, @jenting)
- Exclude volumes mounting secrets and configmaps from defaulting volume backups to restic (#2762, @ashish-amarnath)
- Add types to implement restore hooks (#2761, @ashish-amarnath)
- Add wait group and error channel for restore hooks to restore context. (#2755, @areed)
- Refactor image builds to use buildx for multi arch image building (#2754, @RobReus)
- Add annotation key constants for restore hooks (#2750, @ashish-amarnath)
- Adds Start and CompletionTimestamp to RestoreStatus. Displays the Timestamps when issued a print or describe (#2748, @thejasbabu)
- Move pkg/backup/item_hook_handlers.go to internal/hook (#2734, @nrb)
- add metrics for restic back up operation (#2719, @ashish-amarnath)
- StorageGrid compatibility by removing explicit gzip accept header setting (#2712, @fvsqr)
- restic: add support for setting SecurityContext (runAsUser, runAsGroup) for restore (#2621, @jaygridley)
- Add backupValidationFailureTotal to metrics (#2714, @kathpeony)
- bump Kubernetes module dependencies to v0.18.4 to fix #2540 by adding code compatibility with kubernetes v1.18 (#2651, @laverya)
- Add a BSL controller to handle validation + update BSL status phase (validation removed from the server and no longer blocks when there's any invalid BSL) (#2674, @carlisia)
- updated acceptable values on cron schedule from 0-7 to 0-6 (#2676, @DThrasher)
- Improve velero download doc (#2660, @carlisia)
- Update basic-install and release-instructions documentation for Windows Chocolatey package (#2638, @adamrushuk)
- move CSI plugin out of prototype into beta (#2636, @ashish-amarnath)
- Add a new supported provider for an object storage plugin for Storj (#2635, @JessicaGreben)
- Update basic-install.md documentation: Add windows cli installation option via chocolatey (#2629, @adamrushuk)
- Documentation: Update Jekyll to 4.1.0. Switch from redcarpet to kramdown for Markdown renderer (#2625, @tbatard)
- improve builder image handling so that we don't rebuild each
make shell
. first check if there are pending changed on the build-image dockerfile if so build it. then check if there is an image in the registry if so pull it. then build an image cause we don't have a cached image. (this handles the backward compat case.). fix make clean to clear go mod cache before removing dirs (for containerized builds) (#2620, @mauilion) - Add linter checks to Makefile (#2615, @tbatard)
- add a CI check for a changelog file (#2613, @ashish-amarnath)
- implement option to back up all volumes by default with restic (#2611, @ashish-amarnath)
- When a timeout string can't be parsed, log the error as a warning instead of silently consuming the error. (#2610, @nrb)
- Azure: support using
aad-pod-identity
auth when using restic (#2602, @skriss) - log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- when creating new backup from schedule from cli, allow backup name to be automatically generated (#2569, @cblecker)
- Convert manifests + BSL api client to kubebuilder (#2561, @carlisia)
- backup/restore: reinstantiate backup store just before uploading artifacts to ensure credentials are up-to-date (#2550, @skriss)
v1.4.2
v1.4.2
2020-07-13
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.2
Container Image
velero/velero:v1.4.2
Documentation
Upgrading
https://velero.io/docs/v1.4/upgrade-to-1.4/
All Changes
- log a warning instead of erroring if an additional item returned from a plugin can't be found in the Kubernetes API (#2595, @skriss)
- Adjust restic default time out to 4 hours and base pod resource requests to 500m CPU/512Mi memory. (#2696, @nrb)
- capture version of the CRD prior before invoking the remap_crd_version backup item action (#2683, @ashish-amarnath)
v1.4.1
This tag was created in code, but has no associated docker image due to misconfigured building infrastructure. v1.4.2 fixes this.
v1.4.0
v1.4.0
2020-05-26
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.0
Container Image
velero/velero:v1.4.0
Documentation
Upgrading
https://velero.io/docs/v1.4/upgrade-to-1.4/
Highlights
- Added beta-level CSI support!
- Added custom CA certificate support
- Backup progress reporting
- Changed backup tarball format to support all versions of a given resource
All Changes
- increment restic volumesnapshot count after successful pvb create (#2542, @ashish-amarnath)
- Add details of CSI volumesnapshotcontents associated with a backup to
velero backup describe
when theEnableCSI
feature flag is given on the velero client. (#2448, @nrb) - Allow users the option to retrieve all versions of a given resource (instead of just the preferred version) from the API server with the
EnableAPIGroupVersions
feature flag. (#2373, @brito-rafa) - Changed backup tarball format to store all versions of a given resource, updated backup tarball format to 1.1.0. (#2373, @brito-rafa)
- allow feature flags to be passed from install CLI (#2503, @ashish-amarnath)
- sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath)
- bug fix: in error location logging hook, if the item logged under the
error
key doesn't implement theerror
interface, don't return an error since this is a valid scenario (#2487, @skriss) - bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss)
- during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath)
- If plugins don't support the
--features
flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) - At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb)
- update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss)
- bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss)
- Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley)
- Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with
--snapshot-volumes=false
(#2450, @mynktl) - report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss)
- bug fix: populate namespace in logs for backup errors (#2438, @skriss)
- during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath)
- bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss)
- bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss)
- Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl)
- Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam)
- Added a
--cacert
flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option calledcacert
which takes a path to a certificate bundle to use as a default when--cacert
is not specified. (#2364, @mansam) - support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam)
- adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa)
- When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb)
- add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath)
- refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss)
- refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss)
- upgrade to go 1.14 and migrate from
dep
to go modules (#2214, @skriss) - clarify the wording for restore describe for namespaces included
v1.4.0-beta.1
v1.4.0-beta.1
2020-05-08
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.0-beta.1
Container Image
velero/velero:v1.4.0-beta.1
Documentation
https://velero.io/docs/v1.4-pre/
Upgrading
https://velero.io/docs/v1.4-pre/upgrade-to-1.4/
Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.4.0-beta.1
Highlights
- Added beta-level CSI support
- Added custom CA certificate support
- Backup progress reporting
All Changes
- Add details of CSI volumesnapshotcontents associated with a backup to
velero backup describe
when theEnableCSI
feature flag is given on the velero client. (#2448, @nrb) - report backup progress (number of items backed up so far out of an estimated total number of items) during backup in the logs and as status fields on the Backup custom resource (#2440, @skriss)
- allow feature flags to be passed from install CLI (#2503, @ashish-amarnath )
- sync backups' CSI API objects into the cluster as part of the backup sync controller (#2496, @ashish-amarnath )
- bug fix: in error location logging hook, if the item logged under the
error
key doesn't implement theerror
interface, don't return an error since this is a valid scenario (#2487, @skriss) - bug fix: in CRD restore plugin, don't use runtime.DefaultUnstructuredConverter.FromUnstructured(...) to avoid conversion issues when float64 fields contain int values (#2484, @skriss)
- during backup deletion also delete CSI volumesnapshotcontents that were created as a part of the backup but the associated volumesnapshot object does not exist (#2480, @ashish-amarnath)
- If plugins don't support the
--features
flag, don't pass it to them. Also, update the standard plugin server to ignore unknown flags. (#2479, @skriss) - At backup time, if a CustomResourceDefinition appears to have been created via the v1beta1 endpoint, retrieve it from the v1beta1 endpoint instead of simply changing the APIVersion. (#2478, @nrb)
- update container base images from ubuntu:bionic to ubuntu:focal (#2471, @skriss)
- bug fix: when a resource includes/excludes list contains unresolvable items, don't remove them from the list, so that the list doesn't inadvertently end up matching all resources. (#2462, @skriss)
- Azure: add support for getting storage account key for restic directly from an environment variable (#2455, @jaygridley)
- Support to skip VSL validation for the backup having SnapshotVolumes set to false or created with
--snapshot-volumes=false
(#2450, @mynktl) - during backup deletion also delete CSI volumesnapshots that were created as a part of the backup (#2411, @ashish-amarnath)
- clarify the wording for restore describe for namespaces included Instead of showing it as "*" explicitly mention that all the namespaces from the backup object are included. (#1918, @raghavendrabhat)
- When the EnableCSI feature flag is provided, upload CSI VolumeSnapshots and VolumeSnapshotContents to object storage as gzipped JSON. (#2323, @nrb)
- bug fix: populate namespace in logs for backup errors (#2438, @skriss)
- bug fix: save PodVolumeBackup manifests to object storage even if the volume was empty, so that on restore, the PV is dynamically reprovisioned if applicable (#2390, @skriss)
- adding annotations on backup CRD for k8s major, minor and git versions (#2346, @brito-rafa)
- bump Kubernetes module dependencies to v0.17.4 to get fix for kubernetes/kubernetes#86149 (#2407, @skriss)
- Adding new restoreItemAction for PVC to update the selected-node annotation (#2377, @mynktl)
- Added a --cacert flag to the install command to provide the CA bundle to use when verifying TLS connections to object storage (#2368, @mansam)
- Added a
--cacert
flag to the velero client describe, download, and logs commands to allow passing a path to a certificate to use when verifying TLS connections to object storage. Also added a corresponding client config option calledcacert
which takes a path to a certificate bundle to use as a default when--cacert
is not specified. (#2364, @mansam) - support setting a custom CA certificate on a BSL to use when verifying TLS connections (#2353, @mansam)
- add CSI snapshot API types into default restore priorities (#2318, @ashish-amarnath)
- refactoring: wait for all informer caches to sync before running controllers (#2299, @skriss)
- refactor restore code to lazily resolve resources via discovery and eliminate second restore loop for instances of restored CRDs (#2248, @skriss)
- upgrade to go 1.14 and migrate from
dep
to go modules (#2214, @skriss)
v1.3.2
Container Image
velero/velero:v1.3.2
Documentation
https://velero.io/docs/v1.3.2/
Upgrading
https://velero.io/docs/v1.3.2/upgrade-to-1.3/
All Changes
- Allow
plugins/
as a valid top-level directory within backup storage locations. This directory is a place for plugin authors to store arbitrary data as needed. It is recommended to create an additional subdirectory underplugins/
specifically for your plugin, e.g.plugins/my-plugin-data/
. (#2350, @skriss) - bug fix: don't panic in
velero restic repo get
when last maintenance time isnil
(#2315, @skriss)
v1.3.1
Container Image
velero/velero:v1.3.1
Documentation
https://velero.io/docs/v1.3.1/
Upgrading
https://velero.io/docs/v1.3.1/upgrade-to-1.3/
Highlights
Fixed a bug that caused failures when backing up CustomResourceDefinitions with whole numbers in numeric fields.