velero/changelogs/unreleased
JenTing Hsiao 9dd158d13d
feat: support configure BSL CR to indicate which one is the default (#3092)
* Add default field to BSL CRD

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add a new flag `--default` under `velero backup-location create`

add a new flag `--default` under `velero backup-location create`
to specify this new location to be the new default BSL.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add a new default field under `velero backup-location get`

add a new default field under `velero backup-location get` to indicate
which BSL is the default one.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add a new sub-command and flag under `velero backup-location`

Add a new sub-command called `velero backup-location set` sub-command
and a new flag `velero backup-cation set --default` to configure which
BSL is the default one.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add new flag to get the default backup-location

Add a new flag `--default` under `velero backup-location get`
to displays the current default BSL.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Configures default BSL in BSL controller

When upgrade the BSL CRDs, none of the BSL has been labeled as default.
Sets the BSL default field to true if the BSL name matches to the default BSL setting.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Configures the default BSL in BSL controller for velero upgrade

When upgrade the BSL CRDs, none of the BSL be marked as the default.
Sets the BSL `.spec.default: true` if the BSL name matches against the
`velero server --default-backup-storage-location`.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add unit test to test default BSL behavior

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Update check which one is the default BSL in backup/backup_sync/restore controller

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add changelog

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Update docs locations.md and upgrade-to-1.6.md

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2020-12-08 16:38:29 -05:00
..
2881-zubron Add additional printer columns for CRDs (#2881) 2020-10-27 15:19:33 -07:00
2886-alaypatel07 create CRB with velero-<namespace> (#2886) 2020-10-13 16:13:42 -07:00
2944-mickkael Allow Timezone change in the container (#2944) 2020-10-06 13:58:16 -04:00
2947-nrb Fix 'subcommand required' error w/ cobra upgrade (#2947) 2020-09-17 14:08:26 -07:00
2949-sseago restore proper lowercase/plural CRD resource (#2949) 2020-10-02 09:48:12 -04:00
2970-mynktl fixing 'velero.io/change-pvc-node-selector' plugin to fetch configmap using plugin name (#2970) 2020-11-04 11:45:39 -08:00
2974-gliptak Bump Go to 1.15 (#2974) 2020-10-13 12:42:06 -07:00
2992-betta1 Fix BSL controller to avoid invoking init() on all BSLs regardless of ValidationFrequency (#2992) 2020-10-13 12:10:32 -07:00
2993-zubron Don't fail backup deletion if downloading tarball fails (#2993) 2020-11-30 10:58:34 -08:00
3007-nrb Ensure PVs and PVCs remain bound when doing a restore (#3007) 2020-10-15 16:57:43 -07:00
3011-doughepi Adding fix for restic init container index on restores. (#3011) 2020-10-21 15:15:03 -07:00
3024-cvhariharan Add warning to velero version cmd. Fixes #3017 (#3024) 2020-10-23 17:33:13 -04:00
3051-ashish-amarnath 🐛 Use namespace and name to match PVB to Pod restore (#3051) 2020-11-10 11:36:49 -05:00
3057-invidian Fix various typos found by codespell (#3057) 2020-11-10 11:48:35 -05:00
3059-ashish-amarnath 🐛 Do not run ItemAction plugins for unresolvable types for all types (#3059) 2020-11-11 09:50:57 -05:00
3060-dsu-igeek Add an E2E test framework to test Velero across cloud platforms (#3060) 2020-11-24 14:12:52 -05:00
3064-invidian .github/workflows: add PR codespell workflow (#3064) 2020-11-10 12:43:32 -08:00
3067-funkycode pass annotations from scheduler to created backup (#3067) 2020-11-19 13:19:42 -08:00
3073-jenting feat: add delete sub-command for backup-location (#3073) 2020-11-30 13:59:42 -05:00
3074-MadhavJivrajani Add instructions to clone repo for examples (#3074) 2020-11-17 16:28:03 -08:00
3084-ashish-amarnath 🐛 BSLs with validation disabled should be validated at least once (#3084) 2020-12-03 07:52:36 -08:00
3085-ashish-amarnath 🏃‍♂️ update setup-kind github actions CI (#3085) 2020-11-17 12:31:14 -05:00
3092-jenting feat: support configure BSL CR to indicate which one is the default (#3092) 2020-12-08 16:38:29 -05:00
3106-shellwedance Modify function name typo (#3106) 2020-11-23 11:28:34 -05:00