Xun Jiang
e8da5df57a
Reduce CRD size.
...
1. Make the Restore hook.InitConatianer server side field pruing disable.
2. Remove restore patch in update-generate-crd-code.sh.
3. Modify related testcases.
4. Add Container fields validation in Restore Init hook.
Signed-off-by: Xun Jiang <jxun@vmware.com>
2022-08-02 19:45:01 +08:00
Eric Fried
7566962b95
Support pulling plugins by digest ( #3803 )
...
Previously `WithPlugins` only supported passing image URIs "by tag" --
e.g. `gcr.io/my-repo/my-image:v0.1.2`. With this commit, we add support
for pulling "by digest" -- e.g.
`gcr.io/my-repo/my-image@sha256:a75f9e8c3ced3943515f249597be389f8233e1258d289b11184796edceaa7dab`
Signed-off-by: Eric Fried <efried@redhat.com>
2021-05-18 13:27:49 +08:00
Ashish Amarnath
32c3820b8a
🐛 Fix plugin name derivation from image name ( #3711 )
...
* 🐛 Fix plugin name derivation from image name
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
* changelog
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
2021-04-21 20:57:00 -04:00
Carlisia
63301213bd
Improve name formatting logic and add more tests
...
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-12-14 18:32:37 -08:00
Carlisia
2de7c7924c
Better name format for init containers
...
Signed-off-by: Carlisia <carlisia@vmware.com>
2020-12-14 14:14:12 -08: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
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
Martin Odstrčilík
86efd1577e
add support for setting SecurityContext (user, group) for restic restore ( #2621 )
...
* add support for setting SecurityContext (user, group) for restic restore
Signed-off-by: Martin Odstrcilik <martin.odstrcilik@gmail.com>
2020-07-22 12:10:25 -07:00
Nolan Brubaker
f009fe9bd1
Add --plugins flag to velero install ( #1930 )
...
* Add plugins flag to install
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2019-10-03 16:44:52 -07:00
Nolan Brubaker
a4e70456a1
Add resource limits to restic init container ( #1677 )
...
* Add resource limits to restic init container
Fixes #1201
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Start restic restore item action tests
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Get initial tests for restore action working
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Add new test case
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Move resource parsing into a shared function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Fetch request/limits from plugin's ConfigMap
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Use builders
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Use moved ParseResourceRequirements function
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Move init container building inline
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Drop CPU limit down a bit and clarify error message
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Fix godoc
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
* Add resource requirements to doc
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
2019-08-05 13:18:11 -06:00