Michal Pryc
4b6708de2c
Fix plugin init container names exceeding DNS-1123 limit ( #9445 )
...
Run the E2E test on kind / get-go-version (push) Failing after 1m5s
Run the E2E test on kind / build (push) Has been skipped
Run the E2E test on kind / setup-test-matrix (push) Successful in 4s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / get-go-version (push) Successful in 18s
Main CI / Build (push) Failing after 40s
Close stale issues and PRs / stale (push) Successful in 11s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m45s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 1m14s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 1m7s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 1m6s
Ensure plugin init container names satisfy DNS-1123 label constraints
(max 63 chars). Long names are truncated with an 8-char hash suffix to
maintain uniqueness.
Fixes : #9444
Signed-off-by: Michal Pryc <mpryc@redhat.com >
2025-12-19 13:39:27 -05:00
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