Tony Batard
9518ac898a
Add changelog
...
Signed-off-by: Tony Batard <tbatard@pivotal.io >
2020-06-11 14:57:28 -07:00
Steve Kriss and GitHub
a5346c1a87
azure: support aad-pod-identity auth when using restic ( #2602 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-06-08 11:17:43 -07:00
Ashish Amarnath
e1eba6f4a6
changelog
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-06-08 09:48:33 -07:00
Nolan Brubaker and GitHub
d9d9dc60da
Log when a hook timeout duration can't be parsed ( #2610 )
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-06-05 12:45:50 -07:00
Steve Kriss and GitHub
1c80ba903e
don't error during backup when additional items returned by plugin don't exist ( #2595 )
...
* log a warning instead of erroring if additional item can't be found
Signed-off-by: Steve Kriss <krisss@vmware.com >
* always show backup warning/error count in get/describe
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-06-04 16:29:55 -07:00
Christoph Blecker and GitHub
ceae7a2fdc
When creating backup from schedule, allow default name ( #2569 )
...
* When creating backup from schedule, allow default name
Signed-off-by: Christoph Blecker <admin@toph.ca >
2020-05-28 12:31:25 -07:00
Steve Kriss and GitHub
5b52fd3efd
re-instantiate backup store just before persisting artifacts ( #2550 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-05-27 16:03:52 -07:00
Nolan Brubaker and GitHub
5963650c9d
v1.4.0 changelog and docs ( #2577 )
...
* Add changelog for v1.4.0
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add v1.4.0 docs
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix broken CI, links, and date
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix duplicate and missing TOC info
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-05-26 13:27:26 -07:00
Ashish Amarnath and GitHub
532c6c5dc3
increment restic volumesnapshot count after successful pvb create ( #2542 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-05-20 09:05:23 -07:00
Nolan Brubaker and GitHub
2a144ec3b3
Add changelog entries for PR #2373 ( #2529 )
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-05-11 14:16:16 -07:00
Nolan Brubaker and GitHub
e400be9c8f
Include CSI volume snapshot information in velero backup describe ( #2448 )
...
* Add download methods for CSI objects
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add support for downloading CSI volume objects
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add new methods to mock.
Remove generated information from file since mockery no longer appears
to work. It isn't maintained anymore and doesn't support go module-based
projects.
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add describe command for CSI
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add csi package with helpers
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove duplicate import from server
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove CSI API that will not be used with describe
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add VolumeSnapshotContents output to describe command
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Document NewCSIListOptions function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Document csi package
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove stutter in function name
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix CI
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix nil pointer error when not using CSI snapshots
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove unused CSI download request kinds
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add back mocks
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Change persistent volumes to velero-native snapshots
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove unused function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Address review feedback
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add changelog
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove unnecessary doc.go
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-05-08 12:42:30 -07:00
Steve Kriss
d0ea0e617e
add changelog for PR #2440
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-05-07 13:00:01 -06:00
Ashish Amarnath and GitHub
911a607cf8
Allow feature flags to be passed from install CLI ( #2503 )
...
* allow feature flags to be passed from install CLI
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-05-06 10:52:44 -07:00
Ashish Amarnath and GitHub
577e87d1b8
Sync CSI API objects during backup sync ( #2496 )
...
* add changelog
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* Sync CSI API volumesnapshotcontents during backup sync
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-05-06 08:00:05 -06:00
Nolan Brubaker and GitHub
8671a639c9
Backup entire v1beta1 CRD instead of just changing version string ( #2478 )
...
* Switch to backing up v1beta1 CRDs from API server
Instead of simply switching out the APIVersion string on a v1
CustomResourceDefinition object, re-download the object from the API
server entirely to get the correct fields.
This should fix validation errors upon restore.
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Fix existing tests
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add full example CRDs to automated tests
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Move beta CRD lookup into helper function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add case for preserveUnknownFields CRDs
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add PreserveUnknownFields case and refactor execute
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add older prometheus CRD test cases
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add changelog
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-05-05 13:21:28 -07:00
Ashish Amarnath and GitHub
6b5a084f32
Delete dangling volumesnapshotcontents from velero backups ( #2480 )
...
* Delete dangling volumesnapshotcontents from velero backups
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* add changelog
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* handle not found errors from VSC delete
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* clean up unit tests
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-05-04 15:41:27 -04:00
Nolan Brubaker and GitHub
577af5a5b1
Merge pull request #2487 from skriss/fix-error-logging
...
don't return an error from log hook if value is not an error type
2020-05-01 16:11:16 -04:00
Nolan Brubaker and GitHub
1ed5a13012
Merge pull request #2484 from skriss/fix-2319
...
bug fix: fix int/float conversion issue with CRD type in restore plugin
2020-05-01 16:09:57 -04:00
Ashish Amarnath and GitHub
bf52caf658
Delete CSI volumesnapshots created as part of a backup in its deletion ( #2411 )
...
* delete CSI volumesnapshots in backup on backup delete
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* set vsc deletionpolicy to delete prior to vs deletion
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* add more unit tests
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* add change log
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* passes build need to pass unit tests
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* remove GetNamespacesInBackup
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* fix unit tests
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* check feature flag instead of nil check
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
* cleanup
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-05-01 16:05:20 -04:00
Steve Kriss and GitHub
234bd1e361
changelog for PR #2455 ( #2491 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-05-01 10:06:24 -07:00
Steve Kriss and GitHub
bfc6bd3587
update container base images from bionic to focal ( #2471 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-30 15:13:20 -07:00
Steve Kriss
5cc6c12eb4
don't return an error from log hook if value is not an error type
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-30 15:30:22 -06:00
Steve Kriss and GitHub
e148ddad8f
Add backwards-compatibility for flags passed to plugins ( #2479 )
...
* update plugin server to ignore unknown flags during parse
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-30 13:19:55 -07:00
Steve Kriss and GitHub
dc3593ab15
Revert "Install ca-certificates for ARM based container builds. ( #2481 )" ( #2486 )
...
This reverts commit 0e5ca82dba .
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-30 13:07:58 -07:00
twoequaldots and GitHub
0e5ca82dba
Install ca-certificates for ARM based container builds. ( #2481 )
...
* Install ca-certificates for ARM based container builds.
Signed-off-by: David Colon <dave@colon.dev >
* Adding changelog for PR 2481
Signed-off-by: David Colon <dave@colon.dev >
2020-04-30 09:27:02 -07:00
Steve Kriss
2d55cd2ed8
bug fix: fix int/float conversion issue with CRD type in restore plugin
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-30 09:06:03 -06:00
Steve Kriss and GitHub
15b2a1c9c6
bug fix: don't remove unresolvable includes from includes-excludes lists ( #2462 )
...
* bug fix: don't remove unresolvable includes from includes-excludes lists
Signed-off-by: Steve Kriss <krisss@vmware.com >
* changelog
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-27 17:17:39 -04:00
98d2fc732e
clarify the wording for restore describe for namespaces included ( #2449 )
...
* 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.
refer to https://github.com/vmware-tanzu/velero/issues/1918
Signed-off-by: Raghavendra M <raghavendra@redhat.com >
* Update pkg/cmd/util/output/restore_describer.go
Co-Authored-By: Ashish Amarnath <ashisham@vmware.com >
Signed-off-by: Raghavendra M <raghavendra@redhat.com >
* Update pkg/cmd/util/output/restore_describer.go
Co-Authored-By: Ashish Amarnath <ashisham@vmware.com >
Signed-off-by: Raghavendra M <raghavendra@redhat.com >
Co-authored-by: Ashish Amarnath <ashisham@vmware.com >
2020-04-24 14:44:20 -07:00
Mayank and GitHub
962f5d6859
Skipping validation for volumesnapshotlocation for backup if snapshotvolume set to false ( #2450 )
...
* Disabling validation for volumesnapshotlocation if the backup has snapshotvolume set to false
Signed-off-by: mayank <mayank.patel@mayadata.io >
* adding a changelog
Signed-off-by: mayank <mayank.patel@mayadata.io >
* addressing review comment
Signed-off-by: mayank <mayank.patel@mayadata.io >
2020-04-24 09:46:20 -07:00
Nolan Brubaker
68ee0ecfed
Add changelog
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-04-20 14:39:45 -04:00
Ashish Amarnath and GitHub
bf2ef69aa7
Merge pull request #2431 from nrb/fix2429
...
Annotate backups with kubernetes version information
2020-04-15 11:45:10 -07:00
Steve Kriss and GitHub
1826b6b67b
bug fix: populate namespace in logs for backup errors ( #2438 )
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-15 10:31:40 -07:00
Nolan Brubaker
29c837557f
Add changelog
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-04-14 17:34:20 -04:00
Ashish Amarnath and GitHub
824bc8eec5
Merge pull request #2390 from skriss/fix-2366
...
bug fix: save PVBs even if no snapshot was taken
2020-04-08 12:21:43 -07:00
Steve Kriss and GitHub
72524ffd18
bump k8s deps to v0.17.4 ( #2407 )
...
* bump k8s deps to v0.17.4
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-08 09:57:02 -07:00
Steve Kriss and GitHub
a65eff6fde
Merge pull request #2388 from skriss/v1.3.2-release
...
v1.3.2 changelog & docs
2020-04-03 11:21:43 -06:00
Samuel Lucidi and GitHub
c8223608ba
Add --cacert flag to velero cli commands ( #2364 )
...
* Add --cacert flag to velero cli commands
Adds a --cacert flag to the log and describe commands
that takes a path to a PEM-encoded certificate bundle
as an alternative to --insecure-skip-tls-verify for
dealing with self-signed certificates.
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
2020-04-03 08:02:41 -07:00
Mayank and GitHub
016868ecd3
add restore item action to update PVC selected-node annotation ( #2377 )
...
* New RestoreItemAction for PVC with annotation `volume.kubernetes.io/selected-node`
Signed-off-by: mayank <mayank.patel@mayadata.io >
2020-04-03 08:01:34 -07:00
Steve Kriss
a6b60f9f9f
changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-02 13:25:00 -06:00
Steve Kriss
2203a9a055
v1.3.2 changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-04-02 09:00:50 -06:00
Samuel Lucidi and GitHub
02b5578810
Add --cacert flag to the installer ( #2368 )
...
* Add --cacert flag to the installer
Allows setting the cacert field on the BSL during
the install process using the file at the path
specified by the --cacert field.
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
* Add changelog for #2368
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
2020-03-31 14:48:16 -06:00
Samuel Lucidi and GitHub
4d49b5971c
Support setting a custom CA bundle to use with a BackupStorageLocation ( #2353 )
...
* Support setting a custom CA certificate for a BSL
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
* update CRDS
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
* Add changelog for #2353
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
* Clean up temp file from TestTempCACertFile
Signed-off-by: Sam Lucidi <slucidi@redhat.com >
2020-03-24 15:50:48 -06:00
Rafael Brito and GitHub
f6cd53c6cb
Adding k8s version labels on backup CRD #2342 ( #2346 )
...
Signed-off-by: Rafael Brito <rbrito@vmware.com >
2020-03-19 09:18:05 -07:00
Steve Kriss
32ab45fa27
changelog
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-03-17 11:21:56 -06:00
Nolan Brubaker and GitHub
4f6e8c98a7
Update changelog for v1.3.1 ( #2337 )
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-03-10 13:06:56 -06:00
Nolan Brubaker and GitHub
7258167548
Merge pull request #2248 from skriss/refactor-restore-priorities
...
refactor restore priorities code to use single loop and lazy discovery
2020-03-10 12:16:42 -04:00
Nolan Brubaker and GitHub
040f6806f1
Fix int/float conversion issues in CRD version remapping plugin ( #2322 )
...
* Add builders for CRD schemas
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add test case for #2319
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add failing test case
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Remove unnecessary print and temporary variable
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add some options for fixing the test case
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Switch to a JSON middle step to "fix" conversions
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
* Add comment and changelog
Signed-off-by: Nolan Brubaker <brubakern@vmware.com >
2020-03-10 09:24:22 -06:00
Steve Kriss
583ef4258a
refactor restore priorities code to use single loop and lazy discovery
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
2020-03-10 08:57:50 -06:00
Nolan Brubaker and GitHub
ed42d5a9f1
Merge pull request #2318 from ashish-amarnath/csi-core-changes
...
Add CSI snapshot API types into default restore priorities
2020-03-06 13:53:43 -05:00
Ashish Amarnath
b7cbc4873e
add csi types into restore priorities
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com >
2020-03-06 10:37:03 -08:00