Scott Seago
015b1e69f6
Make BackedUpItems thread safe
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-12-03 15:23:45 -05:00
Shubham Pampattiwar
aed944cb0e
Merge pull request #8257 from shubham-pampattiwar/add-warn-argocd
...
Run the E2E test on kind / build (push) Failing after 15m53s
Run the E2E test on kind / setup-test-matrix (push) Successful in 1m27s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 13m40s
Close stale issues and PRs / stale (push) Failing after 11m56s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 11m56s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 11m54s
Add Backup warning for inclusion of NS managed by ArgoCD
2024-11-19 20:21:17 -08:00
Shubham Pampattiwar
738bb79a99
Add Backup warning for inclusion of NS managed by ArgoCD
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog file
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
run make update
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
re-position import
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update argo cd label comment
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add nil check for backupRequest.Spec.IncludedNamespaces
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
minor fix
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
fix edge cases
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add gh issue link in code comments
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-11-19 16:06:22 -08:00
Daniel Jiang
a9c9f19368
Merge pull request #8169 from mpryc/aws_creds_exposed
...
Fix #8168 - AWS secrets should not be exposed while running tests
2024-11-18 20:34:05 +08:00
Daniel Jiang
e7da6727cf
Merge pull request #8343 from evhan/maintenance-job-env-from
...
Copy "envFrom" from Velero server when creating maintenance jobs
2024-11-18 20:28:44 +08:00
sangitaray2021
74790d9f60
Added tracking for deleted namespace status check in restore flow ( #8233 )
...
* Added tracking for deleted namespace status check in restore flow
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
fixed unittest
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
refactored tracker execution and caller
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
added change log
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
Author: sangitaray2021 <sangitaray@microsft.com >
Author: sangitaray2021 <sangitaray@microsoft.com >
Date: Thu Sep 19 02:26:14 2024 +0530
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* fixed linter issuer
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* incorporated PR comments
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
* resolved comments
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
---------
Signed-off-by: sangitaray2021 <sangitaray@microsoft.com >
2024-11-18 13:41:07 +05:30
Daniel Jiang
dacd5eff93
Merge pull request #8380 from sseago/worker-count
...
Add --item-block-worker-count flag to velero install and server
2024-11-15 16:04:25 +08:00
lyndon-li
32a8c62920
Merge pull request #8395 from Lyndon-Li/issue-fix-8394
...
Run the E2E test on kind / run-e2e-test (1.23.17, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.23.17, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.24.17, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.25.16, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.26.13, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.27.10, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.28.6, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, (NamespaceMapping && Single && Restic) || (NamespaceMapping && Multiple && Restic)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, Basic && (ClusterResource || NodePort || StorageClass)) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, ResourceFiltering && !Restic) (push) Has been skipped
Run the E2E test on kind / run-e2e-test (1.29.1, ResourceModifier || (Backups && BackupsSync) || PrivilegesMgmt || OrderedResources) (push) Has been skipped
Main CI / Build (push) Failing after 3m35s
Close stale issues and PRs / stale (push) Failing after 14m19s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 14m18s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 14m16s
Issue 8394: move closeDataPath outside callbacks
2024-11-13 10:39:13 +08:00
Lyndon-Li
7feda11e54
issue 8391: check ErrCancelled from suffix
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-12 18:32:38 +08:00
Lyndon-Li
e5d6c48fea
issue 8394: move closeDataPath outside callbacks
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-11-12 17:07:50 +08:00
Scott Seago
6588141090
Add --item-block-worker-count flag to velero install and server
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-11-07 10:58:36 -05:00
Daniel Jiang
d0cffa3d19
Merge pull request #8354 from alromeros/add-annotations-flag
...
Include --annotations flag in backup and restore create commands
2024-11-06 01:17:17 +08:00
Evan Hanson
f981dd4ab2
Copy "envFrom" from Velero node-agent when creating data mover pods
...
Signed-off-by: Evan Hanson <evanhanson@catalyst.net.nz >
2024-10-31 16:32:54 +13:00
Evan Hanson
70d88901b9
Copy "envFrom" from Velero server when creating maintenance jobs
...
Signed-off-by: Evan Hanson <evanhanson@catalyst.net.nz >
2024-10-30 15:01:59 +13:00
Alvaro Romero
e2839bbdec
Include --annotations flag in backup and restore create commands
...
This commit implements a new --annotations flag in the backup and restore create commands.
This allows users to specify key-value pairs for annotations directly at the time of backup and restore creation, in the same way as the --labels flag.
Signed-off-by: Alvaro Romero <alromero@redhat.com >
2024-10-28 09:52:31 +01:00
Wenkai Yin(尹文开)
07847925fe
Use aggregated discovery API to discovery API groups and resources
...
Use aggregated discovery API to discovery API groups and resources
Fixes #7526
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-28 13:59:16 +08:00
Wenkai Yin(尹文开)
8320df44fd
Merge pull request #8275 from ywk253100/241008_discovery
...
Bump up version of client-go and controller-runtime
2024-10-28 13:51:17 +08:00
Xun Jiang/Bruce Jiang
8058a38058
Merge pull request #8271 from mcluseau/main
...
fix(pkg/repository/maintenance): handle when there's no container status
2024-10-28 13:50:25 +08:00
Lyndon-Li
53ef988c15
fix windows cli compile problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-10-23 14:49:44 +08:00
Mikaël Cluseau
e770f0c308
fix(pkg/repository/maintenance): don't panic when there's no container statuses
...
Signed-off-by: Mikaël Cluseau <mikael.cluseau@gmail.com >
2024-10-22 07:07:45 +02:00
Matthieu MOREL
d06601e977
fix: use Contains or ErrorContains with testify
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-18 20:36:45 +02:00
Matthieu MOREL
226a4c1138
golangci-lint: enable and fix thelper linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-17 08:12:57 +02:00
lyndon-li
fe14fb235c
Merge pull request #8301 from msfrucht/revert_expose_sourcevolumemode
...
Revert "Expose VSC SourceVolumeMode" 1.15
2024-10-16 10:04:46 +08:00
Scott Seago
6fa81ec9b9
fixed error message typo for item block action
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-15 15:22:19 -04:00
MICHAEL S FRUCHTMAN
d9b278edb9
Revert "Expose VSC SourceVolumeMode"
...
This reverts commit 7580538f03 .
Signed-off-by: MICHAEL S FRUCHTMAN <msfrucht@us.ibm.com >
2024-10-14 12:01:05 -07:00
Scott Seago
b1035dd49d
add no-relabeling option to backupPVC configmap
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-14 10:26:55 -04:00
Scott Seago
de7a414511
only set spec.volumes readonly if PVC is readonly for datamover
...
Signed-off-by: Scott Seago <sseago@redhat.com >
2024-10-10 10:51:33 -04:00
Wenkai Yin(尹文开)
23ca089d40
Use '"' rather than '`' in the log to avoid unexpected new line
...
Use '"' rather than '`' in the log to avoid unexpected new line
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-09 14:44:13 +08:00
Daniel Jiang
db2eb89a26
Merge pull request #8245 from shubham-pampattiwar/fix-err-str
...
Remove multiple single quotes from Velero backup.status.validationErrors field
2024-10-09 08:33:19 +08:00
Wenkai Yin(尹文开)
0a4e417aab
Bump up version of client-go and controller-runtime
...
Bump up version of client-go to v0.30.5
Bump up version of controller-runtime to v0.18.5
Fixes #8274
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-10-08 18:53:12 +08:00
MICHAEL S FRUCHTMAN
7580538f03
Expose VSC SourceVolumeMode
...
Add changelog and unittest
Signed-off-by: Michael Fruchtman <msfrucht@us.ibm.com >
2024-10-03 15:05:58 -07:00
Shubham Pampattiwar
f15cde5dfd
Remove mutiple single quotes from Velero backup.status.validationErrors field
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
update error message
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-30 14:20:44 -07:00
Tiger Kaovilai
42de654372
Revert "issue 8249: disable selinux relabel for backupPod ( #8250 )" ( #8253 )
...
This reverts commit 0ccdc7c6e1 .
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-27 12:31:38 -04:00
lyndon-li
0ccdc7c6e1
issue 8249: disable selinux relabel for backupPod ( #8250 )
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-27 11:57:29 -04:00
Shubham Pampattiwar
c0d51a5465
Add labels to maintanance job pods
...
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
add changelog
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com >
2024-09-24 17:09:13 -07:00
Xun Jiang/Bruce Jiang
025d66d5fd
Merge pull request #8237 from Lyndon-Li/issue-fix-8232
...
Issue 8232: ensure the ending event sinked before shutdown
2024-09-24 11:20:52 +08:00
Lyndon-Li
9deaa819aa
issue 8232: ensure the ending event sinked before shutdown
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-09-23 18:35:56 +08:00
Wenkai Yin(尹文开)
390ac497bb
Add the Carvel package related resources to the restore priority list
...
Add the Carvel package related resources to the restore priority list
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-09-19 16:47:00 +08:00
Tiger Kaovilai
3f9c2dc789
Reduces ~140 indirect imports for plugin/framework importers ( #8208 )
...
* Avoid plugin framework importers from needing cloud provider imports
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-13 10:21:51 +08:00
Shubham Pampattiwar
da291467d7
Merge pull request #8199 from AlbeeSo/fix/use-new-gr
...
use newGR instead of groupResource after apiversion convert
2024-09-12 10:20:39 -07:00
Xun Jiang/Bruce Jiang
efcf836d16
Merge pull request #8201 from blackpiglet/update_velero_install_parameter
...
Add the ConfigMap-specified parameters into velero install CLI
2024-09-12 13:08:56 +08:00
Xun Jiang
68f3545424
Add the ConfigMap-specified parameters into velero install CLI.
...
Rename backup-repository-config to backup-repository-configmap.
Rename repo-maintenance-job-config to repo-maintenance-job-configmap.
Rename node-agent-config to node-agent-configmap.
Add those three parameters to `velero install` CLI.
Modify the design and the site documents.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-09-12 11:24:14 +08:00
Wenkai Yin(尹文开)
7e8a3c0bbc
Merge pull request #8206 from kaovilai/pkgpodvolumebackupper_test.go59714thecancelfunctionreturnedbycontext.WithTimeout
...
pkg/podvolume/backupper_test.go:597:14: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak
2024-09-12 10:43:02 +08:00
Wenkai Yin(尹文开)
670338e02f
Merge pull request #8210 from kaovilai/pvc_pv_test.go-32-2
...
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
2024-09-12 10:42:19 +08:00
Wenkai Yin(尹文开)
5b4c8cd5b1
Merge pull request #8198 from kaovilai/pes-controller
...
Add controller name to periodical_enqueue_source
2024-09-12 10:41:46 +08:00
Tiger Kaovilai
70168634cb
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
...
package "k8s.io/api/core/v1" is being imported more than once (ST1019)
pvc_pv_test.go:32:2: other import of "k8s.io/api/core/v1"
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:21:04 -04:00
Tiger Kaovilai
c8aa37d852
Remove additional param, use pkg/constant
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-11 17:13:37 -04:00
Xun Jiang/Bruce Jiang
bf6215c894
Merge pull request #7793 from kaovilai/upgrade_robfig/cron/v3
...
Upgrade to robfig/cron/v3 to support time zone specification
2024-09-11 14:02:58 +08:00
Tiger Kaovilai
3c777cb09f
pkg/podvolume/backupper_test.go:597:14: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-10 19:26:58 -04:00
Tiger Kaovilai
c643ee5fd4
Retry completion status patch for backup and restore resources
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
update to design #8063
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-09-10 17:01:14 -04:00