Commit Graph
1488 Commits
Author SHA1 Message Date
lyndonandGitHub 4e90c30706 restict namespace to node-agent cache (#6527)
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-07-21 09:29:56 -04:00
Wenkai Yin(尹文开)andGitHub 788013bb1e Restore Endpoints before Services (#6317)
Restore Endpoints before Services

Fixes #6280

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-06-20 14:34:38 +08:00
Wenkai Yin(尹文开) d6ccd5f660 Revert "Hardcode the restore order for IPAM resources"
This reverts commit 88bd00c6de.

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-05-26 09:44:01 +08:00
Wenkai Yin(尹文开)andGitHub 5a3505fd98 Hardcode the restore order for IPAM resources (#6288)
Restore poll and IPAddress before IPAddressClaim so no new IPAddress is created

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-05-19 16:54:56 +08:00
Lyndon-Li 03ed343539 fix issue 6182
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-04-25 16:02:35 +08:00
Xun Jiang/Bruce JiangandGitHub 2e152ca78a Merge branch 'release-1.10' into update_golang_v1.10
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
2023-04-19 10:00:41 +08:00
Xun Jiang d52661f6e5 Bump v1.10's Golang version to v1.20
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-04-13 14:12:01 +08:00
Xun Jiang/Bruce JiangandGitHub 4396be6944 Merge branch 'vmware-tanzu:release-1.10' into release-1.10 2023-04-13 09:53:11 +08:00
Wenkai Yin(尹文开)andGitHub ba6e356640 Ignore not found error during patching managedFields (#6135)
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-04-13 08:33:09 +08:00
Lyndon-Li bafdc9181d fix issue 5972
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-04-06 10:16:43 +08:00
Xun Jiang/Bruce JiangandGitHub de3d308777 Merge branch 'release-1.10' into release-1.10
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
2023-04-03 09:34:49 +08:00
Xun Jiang d3a76c7958 E2E test can read VC credential secret according to vSphere CSI driver version.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-03-31 15:38:58 +08:00
Wenkai Yin(尹文开) 866242d950 Restore Services before Clusters
Restore Services before Clusters so they can be adopted by AKO-operator and no new Services will be created for the same clusters

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-03-31 14:58:12 +08:00
danfengl 19076eec1d Roll back pkg client code for Velero server
Signed-off-by: danfengl <danfengl@vmware.com>
2023-02-22 14:09:23 +00:00
Ming 7698482256 Set Kopia IgnoreUnknownTypes in ErrorHandlingPolicy to True for ignoring backup unknown file type
Signed-off-by: Ming <mqiu@vmware.com>
2023-02-21 06:47:59 +00:00
lyndonandGitHub b192665024 Merge branch 'release-1.10' into cp-backup-result-1.10 2023-02-21 13:42:26 +08:00
Xun Jiang aa2287d100 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-21 11:28:30 +08:00
Wenkai Yin(尹文开)andGitHub 4512160be4 Restore finalizer and managedFields (#5877)
Restore finalizer and managedFields of metadata during the restoration

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-02-20 16:56:05 +08:00
Anshul AhujaandDaniel Jiang 9973e2e0c4 Publish backup results extracted from backup logs
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-02-20 11:08:36 +08:00
Wenkai Yin(尹文开) 3fc787f630 Add secret restore item action to handle service account token secret
Add secret restore item action to handle service account token secret:
1. Skip the restoration for the auto-created service account token secret
2. Remove several fields for non-auto-created service account token secret to make sure the secret can be restored

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2023-02-17 10:50:02 +08:00
Tiger Kaovilai 820fe8a559 move UpdatePVXStatusToFailed to controller pkg
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-02-07 10:21:22 -05:00
Tiger Kaovilai dc2f12743b Use updated PVB/PVR for patching Failed Phase during startup
Use the same pvb/pvr update functions across pkg/controller and pkg/cli/nodeagent for consistency of behavior

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2023-02-03 14:49:09 -05:00
lyndonandGitHub 8bee9c9f71 Merge branch 'release-1.10' into panic110 2023-01-03 09:47:44 +08:00
Lyndon-Li 1b846103dc fix issue 5696
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-12-21 12:47:00 +08:00
Ming 2a0987c714 Fix error with Restic backup empty volumes
Signed-off-by: Ming <mqiu@vmware.com>
2022-12-20 02:44:27 +00:00
Dylan Murray f41d464c47 Prevent nil panic on exec restore hooks (#5675)
* Prevent nil panic on exec restore hooks

Signed-off-by: Dylan Murray <dymurray@redhat.com>
(cherry picked from commit 55873c1c37)
2022-12-19 09:54:23 -05:00
Daniel Jiangandlyndon ca8cbf869c Update the api-types doc
This commit makes update to the update api-types docs to add missing
fields.
It also includes misc changes to the inline comment, and a change to
Dockerfile to make sure the build-image works on mac

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2022-11-22 18:44:36 +08:00
Wenkai Yin(尹文开) 0232f91e34 Restore ClusterBootstrap before Cluster
Restore ClusterBootstrap before Cluster otherwise a new default ClusterBootstrap object is create for the cluster

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-11-22 18:16:54 +08:00
Ming bf1122b633 Fix controller problematic log output
Signed-off-by: Ming <mqiu@vmware.com>
2022-11-09 06:46:45 +00:00
Lyndon-Li b06cb9ec60 remove gofrs uuid
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-11-07 16:28:33 +08:00
lyndonandGitHub cc9d492479 Merge pull request #5485 from Obmondo/fix/error-message
Fix pointer deference to string in error message
2022-11-04 14:15:56 +08:00
Xun Jiang/Bruce JiangandGitHub 1865aab28d Merge pull request #5535 from ywk253100/221102_order
[cherry-pick]Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last
2022-11-03 14:53:10 +08:00
Wenkai Yin(尹文开) c186a7d193 Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last
Enhance the restore priorities list to support specifying the low prioritized resources that need to be r
estored in the last

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-11-03 10:53:32 +08:00
Xun Jiang/Bruce JiangandGitHub 345abb3142 Merge pull request #5534 from qiuming-best/backup-progress
fix restic backup progress error
2022-11-02 17:15:30 +08:00
Ming 32637da16b fix restic backup progress error
Signed-off-by: Ming <mqiu@vmware.com>
2022-11-02 07:49:00 +00:00
Xun Jiang/Bruce JiangandGitHub 5db3da5aea Merge pull request #5512 from Lyndon-Li/issue-fix-5505
Issue fix 5505
2022-11-01 19:38:39 +08:00
Xun Jiang/Bruce JiangandGitHub ae1e42cfd7 Merge pull request #5478 from Lyndon-Li/s3-compatible-provider
Issue fix 5477
2022-11-01 19:38:26 +08:00
Ming 52a49d1945 fix backup failure with self-signed certification
Signed-off-by: Ming <mqiu@vmware.com>
2022-11-01 07:05:20 +00: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
Lyndon-Li 3571339fd6 issue fix 5505
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-31 11:09:46 +08:00
Xun Jiang/Bruce JiangandGitHub 150570feec Remove redundancy code block left by #5388. (#5483)
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-10-27 14:20:26 +08:00
Faizan AhmadandFaizan Ahmad 9d01432007 Fix pointer deference to string in error message
Signed-off-by: Faizan Ahmad <faizan@obmondo.com>
2022-10-25 07:52:00 +05:30
Lyndon-Li 9695340c12 repo config for s3 compatible store
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-10-24 19:48:09 +08:00
Xun Jiang/Bruce JiangandGitHub 660841dfbd Merge pull request #5471 from ywk253100/221021_lib
update k8s.io dependencies to 0.24.0
2022-10-24 14:46:43 +08:00
Xun Jiang/Bruce JiangandGitHub 5027aae194 Add more nil pointer check for CSI related code in backup controller. (#5388)
Add some corner cases checking for CSI snapshot in backup controller.

Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-10-24 10:42:08 +08:00
Kira BoyleandWenkai Yin(尹文开) b146a880c6 update k8s.io dependencies to 0.24.0
* This also required an update to use github.com/bombsimon/logrusr/v3
* 'WithClusterName' removed as per the k8s doc reasoning:
* https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/types.go\#L257-L259
* ('ClusterName was a legacy field that was always cleared by the system and never used')
* Test was updated accordingly

Signed-off-by: Kira Boyle <kira@replicated.com>
2022-10-21 11:16:21 +08:00
Shubham PampattiwarandGitHub c5339227fe increase ensure restic repository timeout (#5335)
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2022-10-19 16:26:45 +08:00
Daniel JiangandGitHub fc038041fb Merge pull request #5294 from cleverhu/change-CSISnapshotTimeout-to-normal-var
change CSISnapshotTimeout from pointer to normal variable
2022-10-19 15:31:47 +08:00
lyndonandGitHub 162680b39c Merge branch 'main' into velero-docker-image-go-1.18
Signed-off-by: lyndon <98304688+Lyndon-Li@users.noreply.github.com>
2022-10-19 09:29:36 +08:00
Shubham Pampattiwar 34cca77533 Add nil check before execution of csi snapshot delete
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>

add changelog

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2022-10-18 11:51:55 -04:00