Xun Jiang and Xun Jiang
7491ab1ec5
Remove Wait VolumeSnapshot to ReadyToUse logic.
...
Due to the logic moving to plugin, and the plugin cannot read the
Velero server's resourceTimeout setting, add the resourceTimeout
in the backup annotation to pass to plugin.
Remove VolumeSnapshotContent reset code from Velero server.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-06-02 14:43:43 +08:00
Xun Jiang and Xun Jiang
8766a4dbd4
Make namespace resource doesn't honor label selector filters anymore.
...
For some use cases, namespaced-scope resources are inluded into backup,
but the namespaces are not included due to filters setting.
To do this, removing label selector filter from namespace resource.
Namespace resource only honor namespace exclude/include filters.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-06-01 16:59:18 +08:00
Xun Jiang
754f02c40d
Make the E2E testing pods obey the restricted pod security standard.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-05-30 15:36:44 +08:00
Xun Jiang
98baaa9e2f
Add file system group setting for deployment and pod used in E2E test.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-05-19 11:30:44 +08:00
Xun Jiang
f051ecaee9
Enable errcheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-28 09:33:42 +08:00
Xun Jiang
443f732e51
Enable more linters, and remove mal-functioned milestoned issue action.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 23:31:51 +08:00
Xun Jiang
180cc4e31d
Enable linter revive and resolve found errors: part 1
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 23:15:15 +08:00
Xun Jiang
bbc1e2e151
Enable stylecheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 14:37:02 +08:00
Xun Jiang
cb0ada1e1c
Enable staticcheck and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 11:33:40 +08:00
Xun Jiang
0be3f5a3e7
Update Golang to v1.20 for main branch.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-17 13:26:46 +08:00
Xun Jiang
e779cd2b76
Fix goreleaser issues and add new goreleaser action.
...
Fix goreleaser script's bug.
Add a new Github action to verify goreleaser related modification.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-11 17:03:20 +08:00
Xun Jiang
0c1a57af72
Add changelog for v1.11.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-07 15:19:05 +08:00
Xun Jiang
9f460a91e7
Add v1.11 document.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-07 09:32:22 +08:00
Xun Jiang
f9a3d7e2f2
Add v1.11 document.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-07 09:25:39 +08:00
Xun Jiang
56f93393d8
Modify new scope resource filters name.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-06 18:11:55 +08:00
Xun Jiang
fc692c49e6
Update Golang version to v1.19 for branch main.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-04 12:00:19 +08:00
Xun Jiang
c1acd9c6c5
Make Velero server continue to work, when CSI feature is enabled and Snapshot CRD group is missing.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-31 17:47:27 +08:00
Xun Jiang
478fb27a0e
E2E test can read VC credential secret according to vSphere CSI driver version.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-28 11:18:49 +08:00
Xun Jiang
446e43d018
Replace != with notin for --selector.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-20 17:22:15 +08:00
Xun Jiang
c677c433e0
Limit the concurrent number of go routine for VolumeSnapshot and VolumeSnapshotContent operations.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-16 11:42:38 +08:00
Xun Jiang
a1e4f54488
Add new resource filters can separate cluster and namespace scope resources.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-14 07:07:22 +00:00
Xun Jiang
6a295cb0bb
Update HorizontalPodAutoscaler version in velero.io
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-03-08 10:32:44 +08:00
Xun Jiang
c2ac76165e
Make restore controller adopting the controller-runtime framework.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-25 11:55:02 +08:00
Xun Jiang
0a2aed8967
Fix Dependabot alerts. Update Dockerfile. Modify Trivy daily scan.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-23 14:04:59 +08:00
Xun Jiang
6be07a1df3
Add labels for created namespace during velero installation to adopt k8s v1.25's PSS and PSA.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-02-20 21:27:04 +08:00
Xun Jiang
fb5ee2e7bf
Proposal to add resource filters for backup can distinguish whether resource is cluster scope or namespace scope.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-20 15:29:03 +08:00
Xun Jiang
955eec7033
Enable staticcheck linter. Disable check for folder /pkg and /test by now.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-20 13:52:13 +08:00
Xun Jiang
601f4a9985
Add GOARM in Restic builder. Add PR container build action.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-17 17:24:21 +08:00
Xun Jiang
d1608e7723
Remove container-builder-env section.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-16 16:17:59 +08:00
Xun Jiang
01c4e9b0c9
Fix Dockerfile issue.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-13 14:37:55 +08:00
Xun Jiang
7d916485ec
Add Restic builder in Dockerfile.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-13 14:32:22 +08:00
Xun Jiang
10a1428e00
Add info about using shell and using environment variables in restore InitContainer/Exec hooks.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-09 20:17:50 +08:00
Xun Jiang
b10503b351
Add Trivy nightly scan.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-01-05 20:06:21 +08:00
Xun Jiang
3a9ff2256b
Update Velero and k8s version compatibility matrix.
...
Due to CSIDriver is checked for Restic volume mounting path, and CSIDriver is GA and moved to storage v1 group in k8s v1.18, so update Velero v1.8, v1.9 and v1.10 compatible k8s version to 1.18-latest.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-12-05 17:40:38 +08:00
Xun Jiang
a80cfcdb8c
Add Velero behind proxy document.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-11-14 19:27:32 +08:00
Xun Jiang
41fc641298
Add credential file store in the backup deletion controller.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-10-31 16:59:26 +08:00
Xun Jiang
9693aca1f3
Fix Test_prepareBackupRequest_BackupStorageLocation UT failure.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-26 17:10:23 +08:00
Xun Jiang
d134783282
Clarify the help message for the default value of parameter --snapshot-volumes, when it's not set.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-16 16:03:05 +08:00
Xun Jiang
b49e39c021
Remove github.com/apex/log logger.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-09-07 08:52:16 +08:00
Xun Jiang
71e5027bfb
Controller refactor code modifications.
...
1. Add some refactored controllers initiation code into enabledRuntimeControllers.
2. Add reconciler struct initiation function for DownloadRequest and ServerStatusRequest controllers.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2022-08-23 10:32:19 +08:00