Jonas Rosland
a179ae01ca
Fix for docs redirects ( #2895 )
...
* Fixing redirects
Signed-off-by: jonasrosland <jrosland@vmware.com>
* Fix netlify config
Signed-off-by: jonasrosland <jrosland@vmware.com>
* Add previous redirects
Signed-off-by: jonasrosland <jrosland@vmware.com>
* Change netlify publish path
Signed-off-by: jonasrosland <jrosland@vmware.com>
* Add new redirect for restic
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-09-02 14:20:46 -07:00
Carlisia Thompson
be1cd03023
Refactor BSL related code ( #2870 )
...
* Refactor BSL related code
Signed-off-by: Carlisia <carlisia@vmware.com>
* Increase # of max concurrent reconciles
Signed-off-by: Carlisia <carlisia@vmware.com>
* Clean up for better, more precise interfaces
Signed-off-by: Carlisia <carlisia@vmware.com>
* Minor clean up - code reviews
Signed-off-by: Carlisia <carlisia@vmware.com>
* Address code review
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add import and fix CI
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-09-02 13:12:37 -04:00
Ashish Amarnath
b5edac3c83
📖 update restore api types with init container restorehooks ( #2855 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-09-02 13:11:57 -04:00
Pawan Prakash Sharma
debcbd2f8e
fix: rename the PV if VolumeSnapshotter has modified the PV name ( #2835 )
...
* fix: rename the PV if VolumeSnapshotter has modified the PV name
When VolumeSnapshotter sets the PV name via SetVolumeID and PV is
not there in the cluster, velero does not rename the PV. Which causes
the pvc to be in the lost state as pvc points to the old PV but pv object
has been renamed by VolumeSnapshotter.
Signed-off-by: Pawan <pawan@mayadata.io>
* adding a test case for pv rename
Signed-off-by: Pawan <pawan@mayadata.io>
2020-09-01 14:25:13 -07:00
Carlisia Campos
c952932f1b
Migrate ServerStatusRequest controller and resource to kubebuilder ( #2838 )
...
* Convert ServerStatusRequest controller to controller-runtime
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add select stm
Signed-off-by: Carlisia <carlisia@vmware.com>
* Fixed status patch bug
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add mgr start
Signed-off-by: Carlisia <carlisia@vmware.com>
* Trying to sync
Signed-off-by: Carlisia <carlisia@vmware.com>
* Clean async now
Signed-off-by: Carlisia <carlisia@vmware.com>
* Clean up + move context out
Signed-off-by: Carlisia <carlisia@vmware.com>
* Bug: not closing the channel
Signed-off-by: Carlisia <carlisia@vmware.com>
* Clean up some tests
Signed-off-by: Carlisia <carlisia@vmware.com>
* Much better way to fetch an update using a backoff loop
Signed-off-by: Carlisia <carlisia@vmware.com>
* Even better way to retry: use apimachinery lib
Signed-off-by: Carlisia <carlisia@vmware.com>
* Refactor controller + add test
Signed-off-by: Carlisia <carlisia@vmware.com>
* partially fix unit tests
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
* Fix and add tests
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add changelog
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add ability to disable the controller + cleanups
Signed-off-by: Carlisia <carlisia@vmware.com>
* Fix bug w/ disabling controllers + fix test + clean up
Signed-off-by: Carlisia <carlisia@vmware.com>
* Move role.yaml to the correct folder
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add sample serverstatusrequest.yaml
Signed-off-by: Carlisia <carlisia@vmware.com>
* Add requeue + better formatting
Signed-off-by: Carlisia <carlisia@vmware.com>
* Increase # of max concurrent reconciles
Signed-off-by: Carlisia <carlisia@vmware.com>
Co-authored-by: Ashish Amarnath <ashisham@vmware.com>
2020-09-01 14:15:23 -07:00
Nolan Brubaker
aed504a0fd
Fix git commands and add dry run mode as default to the tag-release.sh script. ( #2875 )
...
* Fix git commands and add missing comment
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Add dry-run mode to tag-release.sh
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Make if statement formatting more consistent
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Add documentaion for dry-run mode
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Better support for dry-run
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-09-01 12:59:05 -07:00
JenTing Hsiao
1513674548
fix EnableAPIGroupersions output log format ( #2882 )
...
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2020-09-01 13:50:44 -04:00
Jonas Rosland
9764845530
Add CII Best Practices badge to README ( #2880 )
...
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-08-31 17:33:03 -04:00
Jonas Rosland
1dcaa1bf75
Rename security policy file to show up accurately in the GitHub UI ( #2879 )
...
Signed-off-by: jonasrosland <jrosland@vmware.com>
2020-08-31 12:10:09 -04:00
Abigail McCarthy
ac50b457ad
add hugo default TOC ( #2866 )
...
* add hugo default TOC
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* point contributors to style guide (#2872 )
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* add hugo default TOC
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* remove unused links
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-28 14:06:11 -04:00
Abigail McCarthy
9cf35d9ba7
add new table shortcode ( #2865 )
...
* add new table shortcode
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* fix typo
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* update shortcode commentn
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* fix messed up table
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* fixing 2 more tables
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* update 1.4 supporteed providers
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* add note about links in tables
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-28 12:03:43 -04:00
Abigail McCarthy
36a4c28f61
point contributors to style guide ( #2872 )
...
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-26 17:13:16 -07:00
Ashish Amarnath
474de24d48
📖 update documentation to push container images using docker buildx ( #2854 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-25 15:40:01 -07:00
Abigail McCarthy
648582c85e
Update release checklist to include more info around blog posts and r… ( #2837 )
...
* Update release checklist to include more info around blog posts and release announcements
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* updating links
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* update from review
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-25 15:37:22 -04:00
Abigail McCarthy
839a9646aa
update docs to match style guide ( #2861 )
...
* update docs to match style guide
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* update web site guide
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-25 10:02:21 -07:00
Dylan Murray
7369e4d99e
Check for errors on restic backup command ( #2863 )
...
* Check for errors on restic backup command
Signed-off-by: Dylan Murray <dymurray@redhat.com>
* Add changelog
Signed-off-by: Dylan Murray <dymurray@redhat.com>
2020-08-25 08:51:50 -07:00
Carlisia Campos
03bd6c85c8
Better var names ( #2848 )
...
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-08-24 15:14:07 -04:00
Nolan Brubaker
f5d10c5474
Merge pull request #2853 from ashish-amarnath/fix-server-version
...
🐛 fix passing LDFLAGS across build stages
2020-08-21 18:18:34 -04:00
Ashish Amarnath
20ac603747
🐛 fix passing LDFLAGS across build stages
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-21 14:20:37 -07:00
Nolan Brubaker
45168087f1
v1.5.0-beta.1 changelog and docs ( #2849 )
...
* Add changelogs for v1.5.0-beta.1
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Add v1.5-pre docs
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-21 12:07:24 -07:00
Nolan Brubaker
97c14e34be
Merge pull request #2844 from ashish-amarnath/1.5-upgrade-instructions
...
📖 document velero v1.5 upgrade instructions
2020-08-21 12:35:39 -04:00
Nolan Brubaker
718a94ad05
Invoke DeleteItemActions on backup deletion ( #2815 )
...
* Add serving and listing support
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-20 17:24:29 -07:00
Ashish Amarnath
89d4e4417f
📖 document velero v1.5 upgrade instructions
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-20 16:21:36 -07:00
Abigail McCarthy
71fd7cc5a7
add index files to api types folder ( #2839 )
...
* add index files to api tyypes folder
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* updating to using cascade
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-20 14:30:18 -07:00
Ashish Amarnath
d33982b811
🏃♂️ remove go mod download from Dockerfile for build speedup ( #2842 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-19 13:45:08 -07:00
Nolan Brubaker
e0098d8a69
Update the number of reviewers for PRs/add Bridget ( #2843 )
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-19 12:42:43 -07:00
Nolan Brubaker
e9ece0f7b5
Implement DeleteItemAction plugin support ( #2808 )
...
* Add DeleteItemAction struct & protobuf definition
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-18 12:16:26 -07:00
Steph Bman
d1a1d063e1
Create Velero security policy ( #2797 )
...
* Create securitypolicy.md
Creating the Security Policy documentation for Project Velero.
2020-08-18 11:28:14 -07:00
Ashish Amarnath
e6eb5372ea
update image link in readme ( #2827 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-18 11:06:16 -07:00
JenTing Hsiao
62b2a0e17f
The EnableCSI flag on velero backup describe command only ( #2817 )
...
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2020-08-18 11:05:45 -07:00
Ashish Amarnath
9ed43f96c1
📖 update default-volumes-to-restic exclusion list ( #2828 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-18 11:05:12 -07:00
Imran Pochi
52b6838004
docs: add metadata to resource-filtering.md ( #2832 )
...
This metadata is required by hugo to discover the content in the
documentation website, without which a page not found is shown to the
viewer.
Fixes : #2831
Signed-off-by: Imran Pochi <imran@kinvolk.io>
2020-08-18 11:02:49 -07:00
Benoit Gagnon
5d2c9e2ba1
Override logrus.ErrorKey when json logging is enabled ( #2830 )
...
* override logrus.ErrorKey when json logging is enabled
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
* document the logrus.ErrorKey override
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
* add changelog entry
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
2020-08-18 13:53:45 -04:00
runzexia
3a4e441af8
add kindfor func to get apiresource from gvk ( #2764 )
...
* add kindfor func to get apiresource from gvk
Signed-off-by: RyderXia <ryder.xia@sap.com>
* impl interface & changelog
Signed-off-by: RyderXia <ryder.xia@sap.com>
2020-08-17 15:52:33 -07:00
Tony Batard
c663ce15ab
Hugo migration ( #2720 )
...
* Move files to a Hugo structure
Signed-off-by: Tony Batard <tbatard@pivotal.io>
2020-08-13 09:09:15 -07:00
Nolan Brubaker
681123596f
Checkout code on builder image workflow ( #2816 )
...
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-12 17:55:53 -07:00
Phuong N. Hoang
14170b52a8
Enhance Backup to backup resources in specific order. ( #2724 )
...
Signed-off-by: Phuong Hoang <phuong.n.hoang@dell.com>
Co-authored-by: Phuong Hoang <phuong.n.hoang@dell.com>
2020-08-12 17:17:31 -07:00
Steph Bman
dd2d040fcf
Create restore-hooks_product-requirements.md ( #2699 )
...
Restore Hooks Design Proposal
Signed-off-by: Stephanie Bauman <bstephanie@vmware.com>
Co-authored-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-12 16:13:52 -07:00
Ashish Amarnath
d4bbd7b817
🐛 Patch generated yaml for restore CRD as a hacky workaround ( #2814 )
...
* 🐛 Patch generated yaml for restore CRD as a hacky workaround
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
* changelog
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-12 18:43:29 -04:00
Jason Scarano
827d5d34f5
Improve and clarify cmd help documentation, flags, and examples ( #2736 )
...
* capitalize `backup create` cmd comments & examples
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update copyright and capitilize flags and comments
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update backuplocation, restic, & restore cmd doc
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* fix local typo
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update copyrights & capitalize pflag/help strings
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* update copyright in utils dir
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* Revert "update copyright in utils dir"
This reverts commit d116efe3a3
.
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* revert copyright changes
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* restore missing file
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* revert copyright changes
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
* add cacert flag back
Signed-off-by: Jason Scarano <scaranoj@vmware.com>
Co-authored-by: Carlisia Campos <carlisia@vmware.com>
2020-08-12 18:13:44 -04:00
Abigail McCarthy
98a09bcbc5
add note about windows support ( #2806 )
...
* add note about windows support
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
* adding to 1.4 docs and adjusting wording to be more clear
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2020-08-12 18:03:36 -04:00
Ashish Amarnath
9eca0fcbff
Pass default-volumes-to-restic flag from create schedule to backup ( #2776 )
...
* Pass default-volumes-to-restic flag from create schedule to backup
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-12 12:09:07 -07:00
Nolan Brubaker
70e9391278
Add design doc for DeletionAction plugins ( #2713 )
...
* Add design doc for DeletionAction plugins
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-12 11:21:55 -07:00
Carlisia Campos
d7d6a85e46
Add an auto-rebase workflow ( #2813 )
...
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-08-12 10:27:41 -07:00
Nolan Brubaker
7914138dd7
Merge pull request #2802 from ashish-amarnath/fix-restic-restore
...
🐛 Supply command to run restic-wait init container
2020-08-11 14:37:19 -04:00
Ashish Amarnath
e391e43192
🐛 Supply command to run restic-wait init container
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-11 11:05:30 -07:00
Nolan Brubaker
5b28d70e49
Switch event to use pull_request_target ( #2807 )
...
The pull_request_target event is like pull_request, but runs in the
context of the target repo (Velero, in this case), instead of the fork.
This allows us to use the GitHub token secret as expected.
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2020-08-11 10:57:16 -07:00
Ashish Amarnath
a68e5fc330
🏃♂️ Setup crd validation github action on k8s versions ( #2805 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-11 10:45:12 -07:00
Ashish Amarnath
5d6da6517b
✨ Implement restore hooks injecting init containers into pod spec ( #2787 )
...
* ✨ Implement restore hooks injecting init containers into pod spec
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-11 10:38:44 -07:00
Ashish Amarnath
9b9bb62968
🐛 Make init and exec restore hooks as omitempty in restore hookSpec ( #2793 )
...
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2020-08-11 10:13:41 -07:00