Compare commits

...

25 Commits

Author SHA1 Message Date
Xun Jiang/Bruce Jiang
367f563072 Merge pull request #5644 from Lyndon-Li/release-1.10
Rollback goreleaser upgrade
2022-11-29 18:46:22 +08:00
Lyndon-Li
ebae88b967 rollback goreleaser upgrade
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-11-29 18:27:12 +08:00
qiuming
b5981f9402 Merge pull request #5633 from danfengliu/cherry-pick-fix-git-action-issue-for-setup-gcloud
Cherry pick to 1.10 for Fix git action issue for setup-gcloud
2022-11-25 12:08:45 +08:00
qiuming
6288f3d1be Merge branch 'release-1.10' into cherry-pick-fix-git-action-issue-for-setup-gcloud 2022-11-25 11:56:07 +08:00
qiuming
4a8f6760fc Merge pull request #5632 from danfengliu/cherry-pick-fix-crd-verification-issue
Cherry pick to 1.10 Add verification for CRD installation
2022-11-25 11:55:37 +08:00
danfengl
2981565d64 Cherry pick to 1.10 for Fix git action issue for setup-gcloud
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-25 03:48:13 +00:00
danfengl
95d8134bd8 Cherry pick to 1.10 Add verification for CRD installation
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-25 03:43:24 +00:00
lyndon
0ea1c06928 RC2 cut docs (#5624)
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-11-24 16:54:39 +08:00
lyndon
623fac0cdf Merge pull request #5618 from reasonerjt/fix-api-doc-comment-1.10
[1.10.x]: Update the api-types doc
2022-11-22 19:00:57 +08:00
Daniel Jiang
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
lyndon
d3a0890907 Merge pull request #5616 from ywk253100/221122_1.10_order
Restore ClusterBootstrap before Cluster
2022-11-22 18:32:08 +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
lyndon
efb8299010 Merge pull request #5614 from danfengliu/cherry-pick-1.10-add-schedule-pause-unpause-e2e-test
Add pause/unpause schedule e2e test
2022-11-22 17:55:12 +08:00
qiuming
b204308f43 Merge branch 'release-1.10' into cherry-pick-1.10-add-schedule-pause-unpause-e2e-test 2022-11-22 17:39:33 +08:00
Xun Jiang/Bruce Jiang
3f9a5986a9 Merge pull request #5610 from qiuming-best/release-1.10
Enhance upgrade velero bash script
2022-11-22 17:21:12 +08:00
danfengl
cbb0590ff0 Add pause/unpause schedule e2e test
Signed-off-by: danfengl <danfengl@vmware.com>
2022-11-22 09:00:45 +00:00
Ming
29c992a34f Enhance upgrade velero bash script
Signed-off-by: Ming <mqiu@vmware.com>
2022-11-22 02:23:51 +00:00
Xun Jiang/Bruce Jiang
5ecb144e81 Merge pull request #5603 from Lyndon-Li/release-1.10
update 1.10 release notes
2022-11-22 10:06:21 +08:00
Lyndon-Li
37f5f02a64 update 1.10 release notes
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-11-17 16:44:11 +08:00
Xun Jiang/Bruce Jiang
2d71b7c0eb Merge pull request #5601 from qiuming-best/release-1.10
[release-1.10] Add Velero File System Backup Performance Guide
2022-11-17 13:48:25 +08:00
Ming
0f55a4d3e2 [Cherry-Pick] Add Velero File System Backup Performance Guide
Signed-off-by: Ming <mqiu@vmware.com>
2022-11-17 03:41:06 +00:00
lyndon
5dc606bae8 Merge pull request #5589 from blackpiglet/release-1.10
[release-1.10] Add Velero behind proxy document.
2022-11-15 16:34:49 +08:00
Xun Jiang
deeec2121c Add Velero behind proxy document.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2022-11-14 19:19:40 +08:00
Jiaolin Yang
80809828fa Merge pull request #5585 from Lyndon-Li/release-1.10
Pin velero version
2022-11-11 21:56:58 +08:00
Lyndon-Li
4e471977a7 pin velero version
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-11-11 21:35:30 +08:00
210 changed files with 741 additions and 271 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.18.8
id: go
# Look for a CLI that's made for this PR
- name: Fetch built CLI
@@ -57,15 +57,13 @@ jobs:
matrix:
# Latest k8s versions. There's no series-based tag, nor is there a latest tag.
k8s:
- 1.16.15
- 1.17.17
- 1.18.15
- 1.19.7
- 1.20.2
- 1.21.1
- 1.22.0
- 1.23.6
- 1.24.2
- 1.25.3
# All steps run in parallel unless otherwise specified.
# See https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#creating-dependent-jobs
steps:
@@ -83,7 +81,7 @@ jobs:
velero-${{ github.event.pull_request.number }}-
- uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.14.0"
version: "v0.17.0"
image: "kindest/node:v${{ matrix.k8s }}"
- name: Install CRDs
run: |

View File

@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.18.8
id: go
# Look for a CLI that's made for this PR
- name: Fetch built CLI
@@ -60,23 +60,19 @@ jobs:
strategy:
matrix:
k8s:
# doesn't cover 1.15 as 1.15 doesn't support "apiextensions.k8s.io/v1" that is needed for the case
#- 1.15.12
- 1.16.15
- 1.17.17
- 1.18.20
- 1.19.16
- 1.20.15
- 1.21.12
- 1.22.9
- 1.23.6
- 1.24.0
- 1.25.3
fail-fast: false
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.18.8
id: go
- name: Check out the code
uses: actions/checkout@v2
@@ -85,7 +81,7 @@ jobs:
docker run -d --rm -p 9000:9000 -e "MINIO_ACCESS_KEY=minio" -e "MINIO_SECRET_KEY=minio123" -e "MINIO_DEFAULT_BUCKETS=bucket,additional-bucket" bitnami/minio:2021.6.17-debian-10-r7
- uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.14.0"
version: "v0.17.0"
image: "kindest/node:v${{ matrix.k8s }}"
- name: Fetch built CLI
id: cli-cache

View File

@@ -8,7 +8,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.18.8
id: go
- name: Check out the code
uses: actions/checkout@v2

View File

@@ -2,7 +2,9 @@ name: build-image
on:
push:
branches: [ main ]
branches:
- 'main'
- 'release-**'
paths:
- 'hack/build-image/Dockerfile'

View File

@@ -18,11 +18,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.18.8
id: go
- uses: actions/checkout@v3
# Fix issue of setup-gcloud
- run: |
sudo apt-get install python2.7
export CLOUDSDK_PYTHON="/usr/bin/python2"
- uses: google-github-actions/setup-gcloud@v0
with:
version: '285.0.0'

View File

@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.18 as builder-env
FROM --platform=$BUILDPLATFORM golang:1.18.8-bullseye as builder-env
ARG GOPROXY
ARG PKG
@@ -48,7 +48,7 @@ RUN mkdir -p /output/usr/bin && \
go build -o /output/${BIN} \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
FROM gcr.io/distroless/base-debian11:nonroot
FROM gcr.io/distroless/base-debian11@sha256:4b22ca3c68018333c56f8dddcf1f8b55f32889f2dd12d28ab60856eba1130d04
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"

View File

@@ -40,7 +40,7 @@ The following is a list of the supported Kubernetes versions for each Velero ver
| Velero version | Expected Kubernetes version compatibility| Tested on Kubernetes version|
|----------------|--------------------|--------------------|
| 1.10 | 1.16-latest | 1.21, 1.22, 1.23, 1.24 and 1.25 |
| 1.10 | 1.16-latest | 1.22.5, 1.23.8, 1.24.6 and 1.25.1 |
| 1.9 | 1.16-latest | 1.20.5, 1.21.2, 1.22.5, 1.23, and 1.24 |
| 1.8 | 1.16-latest | |
| 1.6.3-1.7.1 | 1.12-latest ||

View File

@@ -50,7 +50,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
tilt_helper_dockerfile_header = """
# Tilt image
FROM golang:1.18 as tilt-helper
FROM golang:1.18.8 as tilt-helper
# Support live reloading with Tilt
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \

View File

@@ -1,5 +1,5 @@
## v1.10.0
### 2022-11-11
### 2022-11-23
### Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.10.0
@@ -20,20 +20,20 @@ In this release, we introduced the Unified Repository architecture to build a da
In this release, we also deeply integrate Velero with Kopia, specifically, Kopia's uploader modules are isolated as a generic file system uploader; Kopia's repository modules are encapsulated as the unified backup repository.
For more information, refer to the design document.
For more information, refer to the [design document](https://github.com/vmware-tanzu/velero/blob/v1.10.0/design/unified-repo-and-kopia-integration/unified-repo-and-kopia-integration.md).
#### File system backup refactor
Velero's file system backup (a.k.s. pod volume backup or formerly restic backup) is refactored as the first user of the Unified Repository architecture. Specifically, we added a new path, the Kopia path, besides the existing Restic path. While Restic path is still available and set as default, you can opt in Kopia path by specifying the uploader-type parameter at installation time. Meanwhile, you are free to restore from existing backups under either path, Velero dynamically switches to the correct path to process the restore.
Velero's file system backup (a.k.s. pod volume backup or formerly restic backup) is refactored as the first user of the Unified Repository architecture. Specifically, we added a new path, the Kopia path, besides the existing Restic path. While Restic path is still available and set as default, you can opt in Kopia path by specifying the `uploader-type` parameter at installation time. Meanwhile, you are free to restore from existing backups under either path, Velero dynamically switches to the correct path to process the restore.
Because of the new path, we renamed some modules and parameters, refer to the Break Changes section for more details.
For more information, visit the file system backup document and v1.10 upgrade guide document.
For more information, visit the [file system backup document](https://velero.io/docs/v1.10/file-system-backup/) and [v1.10 upgrade guide document](https://velero.io/docs/v1.10/upgrade-to-1.10/).
Meanwhile, we've created a performance guide for both Restic path and Kopia path, which helps you to choose between the two paths and provides you the best practice to configure them under different scenarios. Please note that the results in the guide are based on our testing environments, you may get different results when testing in your own ones. For more information, visit the performance guide document.
Meanwhile, we've created a performance guide for both Restic path and Kopia path, which helps you to choose between the two paths and provides you the best practice to configure them under different scenarios. Please note that the results in the guide are based on our testing environments, you may get different results when testing in your own ones. For more information, visit the [performance guide document](https://velero.io/docs/v1.10/performance-guidance/).
#### Plugin versioning V1 refactor
In this release, Velero moves plugins BackupItemAction, RestoreItemAction and VolumeSnapshotterAction to version v1, this allows future plugin changes that do not support backward compatibility, so is a preparation for various complex tasks, for example, data movement tasks.
For more information, refer to the plugin versioning design document.
For more information, refer to the [plugin versioning design document](https://github.com/vmware-tanzu/velero/blob/v1.10.0/design/plugin-versioning.md).
#### Refactor the controllers using Kubebuilder v3
In this release we continued our code modernization work, rewriting some controllers using Kubebuilder v3. This work is ongoing and we will continue to make progress in future releases.
@@ -41,7 +41,7 @@ In this release we continued our code modernization work, rewriting some control
#### Add credentials to volume snapshot locations
In this release, we enabled dedicate credentials options to volume snapshot locations so that you can specify credentials per volume snapshot location as same as backup storage location.
For more information, please visit the locations document.
For more information, please visit the [locations document](https://velero.io/docs/v1.10/locations/).
#### CSI snapshot enhancements
In this release we added several changes to enhance the robustness of CSI snapshot procedures, for example, some protection code for error handling, and a mechanism to skip exclusion checks so that CSI snapshot works with various backup resource filters.
@@ -49,8 +49,8 @@ In this release we added several changes to enhance the robustness of CSI snapsh
#### Backup schedule pause/unpause
In this release, Velero supports to pause/unpause a backup schedule during or after its creation. Specifically:
At creation time, you can specify "paused" flag to "velero schedule create" command, if so, you will create a paused schedule that will not run until it is unpaused
After creation, you can run "velero schedule pause" or "velero schedule unpause" command to pause/unpause a schedule
At creation time, you can specify `paused` flag to `velero schedule create` command, if so, you will create a paused schedule that will not run until it is unpaused
After creation, you can run `velero schedule pause` or `velero schedule unpause` command to pause/unpause a schedule
#### Runtime and dependencies
In order to fix CVEs, we changed Velero's runtime and dependencies as follows:
@@ -63,35 +63,36 @@ Compile Restic (v0.13.1) with go 1.18.8 instead of packaging the official binary
#### Breaking changes
Due to file system backup refactor, below modules and parameters name have been changed in this release:
"restic" daemonset is renamed to "node-agent"
"resticRepository" CR is renamed to "backupRepository"
"velero restic repo" command is renamed to "velero repo"
"velero-restic-credentials" secret is renamed to "velero-repo-credentials"
"default-volumes-to-restic" parameter is renamed to default-volumes-to-fs-backup
"restic-timeout" parameter is renamed to "fs-backup-timeout"
"default-restic-prune-frequency" parameter is renamed to "default-repo-maintain-frequency"
`restic` daemonset is renamed to `node-agent`
`resticRepository` CR is renamed to `backupRepository`
`velero restic repo` command is renamed to `velero repo`
`velero-restic-credentials` secret is renamed to `velero-repo-credentials`
`default-volumes-to-restic` parameter is renamed to `default-volumes-to-fs-backup`
`restic-timeout` parameter is renamed to `fs-backup-timeout`
`default-restic-prune-frequency` parameter is renamed to `default-repo-maintain-frequency`
#### Upgrade
Due to the major changes of file system backup, the old upgrade steps are not suitable any more. For the new upgrade steps, visit v1.10 upgrade guide document.
Due to the major changes of file system backup, the old upgrade steps are not suitable any more. For the new upgrade steps, visit [v1.10 upgrade guide document](https://velero.io/docs/v1.10/upgrade-to-1.10/).
#### Limitations/Known issues
In this release, Kopia backup repository (so the Kopia path of file system backup) doesn't support self signed certificate for S3 compatible storage. To track this problem, refer to this Velero issue or Kopia issue.
In this release, Kopia backup repository (so the Kopia path of file system backup) doesn't support self signed certificate for S3 compatible storage. To track this problem, refer to this [Velero issue](https://github.com/vmware-tanzu/velero/issues/5123) or [Kopia issue](https://github.com/kopia/kopia/issues/1443).
Due to the code change in Velero, there will be some code change required in vSphere plugin, without which the functionality may be impacted. Therefore, if you are using vSphere plugin in your workflow, please hold the upgrade until the issue #485 is fixed in vSphere plugin.
Due to the code change in Velero, there will be some code change required in vSphere plugin, without which the functionality may be impacted. Therefore, if you are using vSphere plugin in your workflow, please hold the upgrade until the issue [#485](https://github.com/vmware-tanzu/velero-plugin-for-vsphere/issues/485) is fixed in vSphere plugin.
### All changes
* Restore ClusterBootstrap before Cluster otherwise a new default ClusterBootstrap object is create for the cluster (#5616, @ywk253100)
* Add compile restic binary for CVE fix (#5574, @qiuming-best)
* Fix controller problematic log output (#5572, @qiuming-best)
* Enhance the restore priorities list to support specifying the low prioritized resources that need to be restored in the last (#5535, @ywk253100)
* fix restic backup progress error (#5534, @qiuming-best)
* fix restic backup failure with self-signed certification backend storage (#5526, @qiuming-best)
* Add credential store in backup deletion controller to support VSL credential. (#5521, @blackpiglet)
* Fix issue 5505: the pod volume backups/restores except the first one fail under the kopia path if "AZURE_CLOUD_NAME" is specified (#5512, @lyndon)
* After Pod Volume Backup/Restore refactor, remove all the unreasonable appearance of "restic" word from documents (#5499, @lyndon)
* Refactor Pod Volume Backup/Restore doc to match the new behavior (#5484, @lyndon)
* Fix issue 5505: the pod volume backups/restores except the first one fail under the kopia path if "AZURE_CLOUD_NAME" is specified (#5512, @Lyndon-Li)
* After Pod Volume Backup/Restore refactor, remove all the unreasonable appearance of "restic" word from documents (#5499, @Lyndon-Li)
* Refactor Pod Volume Backup/Restore doc to match the new behavior (#5484, @Lyndon-Li)
* Remove redundancy code block left by #5388. (#5483, @blackpiglet)
* Issue fix 5477: create the common way to support S3 compatible object storages that work for both Restic and Kopia; Keep the resticRepoPrefix parameter for compatibility (#5478, @lyndon)
* Issue fix 5477: create the common way to support S3 compatible object storages that work for both Restic and Kopia; Keep the resticRepoPrefix parameter for compatibility (#5478, @Lyndon-Li)
* Update the k8s.io dependencies to 0.24.0.
This also required an update to github.com/bombsimon/logrusr/v3.
Removed the `WithClusterName` method
@@ -99,24 +100,24 @@ as it is a "legacy field that was
always cleared by the system and never used" as per upstream k8s
https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/types.go#L257-L259 (#5471, @kcboyle)
* Add v1.10 velero upgrade doc (#5468, @qiuming-best)
* Upgrade velero docker image to use go 1.18 and upgrade golangci-lint to 1.45.0 (#5459, @lyndon)
* Upgrade velero docker image to use go 1.18 and upgrade golangci-lint to 1.45.0 (#5459, @Lyndon-Li)
* Add VolumeSnapshot client back. (#5449, @blackpiglet)
* Change subcommand `velero restic repo` to `velero repo` (#5446, @allenxu404)
* Remove irrational "Restic" names in Velero code after the PVBR refactor (#5444, @lyndon)
* Remove irrational "Restic" names in Velero code after the PVBR refactor (#5444, @Lyndon-Li)
* moved RIA execute input/output structs back to velero package (#5441, @sseago)
* Rename Velero pod volume restore init helper from "velero-restic-restore-helper" to "velero-restore-helper" (#5432, @lyndon)
* Rename Velero pod volume restore init helper from "velero-restic-restore-helper" to "velero-restore-helper" (#5432, @Lyndon-Li)
* Skip the exclusion check for additional resources returned by BIA (#5429, @reasonerjt)
* Change B/R describe CLI to support Kopia (#5412, @allenxu404)
* Add nil check before execution of csi snapshot delete (#5401, @shubham-pampattiwar)
* update velero using klog to version v2.9.0 (#5396, @blackpiglet)
* Fix Test_prepareBackupRequest_BackupStorageLocation UT failure. (#5394, @blackpiglet)
* Rename Velero daemonset from "restic" to "node-agent" (#5390, @lyndon)
* Rename Velero daemonset from "restic" to "node-agent" (#5390, @Lyndon-Li)
* Add some corner cases checking for CSI snapshot in backup controller. (#5388, @blackpiglet)
* Fix issue 5386: Velero providers a full URL as the S3Url while the underlying minio client only accept the host part of the URL as the endpoint and the schema should be specified separately. (#5387, @lyndon)
* Fix issue 5386: Velero providers a full URL as the S3Url while the underlying minio client only accept the host part of the URL as the endpoint and the schema should be specified separately. (#5387, @Lyndon-Li)
* Fix restore error with flag namespace-mappings (#5377, @qiuming-best)
* Pod Volume Backup/Restore Refactor: Rename parameters in CRDs and commands to remove "Restic" word (#5370, @lyndon)
* Pod Volume Backup/Restore Refactor: Rename parameters in CRDs and commands to remove "Restic" word (#5370, @Lyndon-Li)
* Added backupController's UT to test the prepareBackupRequest() method BackupStorageLocation processing logic (#5362, @niulechuan)
* Fix a repoEnsurer problem introduced by the refactor - The repoEnsurer didn't check "" state of BackupRepository, as a result, the function GetBackupRepository always returns without an error even though the ensreReady is specified. (#5359, @lyndon)
* Fix a repoEnsurer problem introduced by the refactor - The repoEnsurer didn't check "" state of BackupRepository, as a result, the function GetBackupRepository always returns without an error even though the ensreReady is specified. (#5359, @Lyndon-Li)
* Add E2E test for schedule backup (#5355, @danfengliu)
* Add useOwnerReferencesInBackup field doc for schedule. (#5353, @cleverhu)
* Clarify the help message for the default value of parameter --snapshot-volumes, when it's not set. (#5350, @blackpiglet)
@@ -126,22 +127,22 @@ https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/ty
* Add opt-in and opt-out PersistentVolume backup to E2E tests (#5331, @danfengliu)
* Cancel downloadRequest when timeout without downloadURL (#5329, @kaovilai)
* Fix PVB finds wrong parent snapshot (#5322, @qiuming-best)
* Fix issue 4874 and 4752: check the daemonset pod is running in the node where the workload pod resides before running the PVB for the pod (#5319, @lyndon)
* Fix issue 4874 and 4752: check the daemonset pod is running in the node where the workload pod resides before running the PVB for the pod (#5319, @Lyndon-Li)
* plugin versioning v1 refactor for VolumeSnapshotter (#5318, @sseago)
* Change the status of restore to completed from partially failed when restore empty backup (#5314, @allenxu404)
* RestoreItemAction v1 refactoring for plugin api versioning (#5312, @sseago)
* Refactor the repoEnsurer code to use controller runtime client and wrap some common BackupRepository operations to share with other modules (#5308, @lyndon)
* Refactor the repoEnsurer code to use controller runtime client and wrap some common BackupRepository operations to share with other modules (#5308, @Lyndon-Li)
* Remove snapshot related lister, informer and client from backup controller. (#5299, @jxun)
* Remove github.com/apex/log logger. (#5297, @blackpiglet)
* change CSISnapshotTimeout from pointer to normal variables. (#5294, @cleverhu)
* Optimize code for restore exists resources. (#5293, @cleverhu)
* Add more detailed comments for labels columns. (#5291, @cleverhu)
* Add backup status checking in schedule controller. (#5283, @blackpiglet)
* Add changes for problems/enhancements found during smoking test for Kopia pod volume backup/restore (#5282, @lyndon)
* Add changes for problems/enhancements found during smoking test for Kopia pod volume backup/restore (#5282, @Lyndon-Li)
* Support pause/unpause schedules (#5279, @ywk253100)
* plugin/clientmgmt refactoring for BackupItemAction v1 (#5271, @sseago)
* Don't move velero v1 plugins to new proto dir (#5263, @sseago)
* Fill gaps for Kopia path of PVBR: integrate Repo Manager with Unified Repo; pass UploaderType to PVBR backupper and restorer; pass RepositoryType to BackupRepository controller and Repo Ensurer (#5259, @lyndon)
* Fill gaps for Kopia path of PVBR: integrate Repo Manager with Unified Repo; pass UploaderType to PVBR backupper and restorer; pass RepositoryType to BackupRepository controller and Repo Ensurer (#5259, @Lyndon-Li)
* Add csiSnapshotTimeout for describe backup (#5252, @cleverhu)
* equip gc controller with configurable frequency (#5248, @allenxu404)
* Fix nil pointer panic when restoring StatefulSets (#5247, @divolgin)
@@ -149,9 +150,8 @@ https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/ty
* Fix edge cases for already exists resources (#5239, @shubham-pampattiwar)
* Check for empty ns list before checking nslist[0] (#5236, @sseago)
* Remove reference to non-existent doc (#5234, @reasonerjt)
* Add changes for Kopia Integration: Kopia Lib - method implementation
Add changes to write Kopia Repository logs to Velero log (#5233, @lyndon)
* Add changes for Kopia Integration: Kopia Lib - initialize Kopia repo (#5231, @lyndon)
* Add changes for Kopia Integration: Kopia Lib - method implementation. Add changes to write Kopia Repository logs to Velero log (#5233, @Lyndon-Li)
* Add changes for Kopia Integration: Kopia Lib - initialize Kopia repo (#5231, @Lyndon-Li)
* Uploader Implementation: Kopia backup and restore (#5221, @qiuming-best)
* Migrate backup sync controller from code-generator to kubebuilder. (#5218, @jxun)
* check vsc null pointer (#5217, @lilongfeng0902)
@@ -159,22 +159,19 @@ Add changes to write Kopia Repository logs to Velero log (#5233, @lyndon)
* Uploader Implementation: Restic backup and restore (#5214, @qiuming-best)
* Add parameter "uploader-type" to velero server (#5212, @reasonerjt)
* Add annotation "pv.kubernetes.io/migrated-to" for CSI checking. (#5181, @jxun)
* Add changes for Kopia Integration: Unified Repository Provider - method implementation (#5179, @lyndon)
* Add changes for Kopia Integration: Unified Repository Provider - method implementation (#5179, @Lyndon-Li)
* Treat namespaces with exclude label as excludedNamespaces
Related issue: #2413 (#5178, @allenxu404)
* Reduce CRD size. (#5174, @jxun)
* Fix restic backups to multiple backup storage locations bug (#5172, @qiuming-best)
* Add changes for Kopia Integration: Unified Repository Provider - Repo Password (#5167, @lyndon)
* Add changes for Kopia Integration: Unified Repository Provider - Repo Password (#5167, @Lyndon-Li)
* Skip registering "crd-remap-version" plugin when feature flag "EnableAPIGroupVersions" is set (#5165, @reasonerjt)
* Kopia uploader integration on shim progress uploader module (#5163, @qiuming-best)
* Add labeled and unlabeled events for PR changelog check action. (#5157, @jxun)
* VolumeSnapshotLocation refactor with kubebuilder. (#5148, @jxun)
* Delay CA file deletion in PVB controller. (#5145, @jxun)
* This commit splits the pkg/restic package into several packages to support Kopia integration works (#5143, @ywk253100)
* Kopia Integration: Add the Unified Repository Interface definition.
Kopia Integration: Add the changes for Unified Repository storage config.
Related Issues; #5076, #5080 (#5142, @lyndon)
* Kopia Integration: Add the Unified Repository Interface definition. Kopia Integration: Add the changes for Unified Repository storage config. Related Issues; #5076, #5080 (#5142, @Lyndon-Li)
* Update the CRD for kopia integration (#5135, @reasonerjt)
* Let "make shell xxx" respect GOPROXY (#5128, @reasonerjt)
* Modify BackupStoreGetter to avoid BSL spec changes (#5122, @sseago)
@@ -189,5 +186,5 @@ Related Issues; #5076, #5080 (#5142, @lyndon)
* When spec.RestoreStatus is empty, don't restore status (#5008, @sseago)
* Added DownloadTargetKindCSIBackupVolumeSnapshots for retrieving the signed URL to download only the `<backup name>`-csi-volumesnapshots.json.gz and DownloadTargetKindCSIBackupVolumeSnapshotContents to download only `<backup name>`-csi-volumesnapshotcontents.json.gz in the DownloadRequest CR structure. These files are already present in the backup layout. (#4980, @anshulahuja98)
* Refactor BackupItemAction proto and related code to backupitemaction/v1 package. This is part of implementation of the plugin version design https://github.com/vmware-tanzu/velero/blob/main/design/plugin-versioning.md (#4943, @phuongatemc)
* Unified Repository Design (#4926, @lyndon)
* Unified Repository Design (#4926, @Lyndon-Li)
* Add credentials to volume snapshot locations (#4864, @sseago)

View File

@@ -1 +0,0 @@
Add credentials to volume snapshot locations

View File

@@ -1 +0,0 @@
Unified Repository Design

View File

@@ -1 +0,0 @@
Refactor BackupItemAction proto and related code to backupitemaction/v1 package. This is part of implementation of the plugin version design https://github.com/vmware-tanzu/velero/blob/main/design/plugin-versioning.md

View File

@@ -1 +0,0 @@
Added DownloadTargetKindCSIBackupVolumeSnapshots for retrieving the signed URL to download only the `<backup name>`-csi-volumesnapshots.json.gz and DownloadTargetKindCSIBackupVolumeSnapshotContents to download only `<backup name>`-csi-volumesnapshotcontents.json.gz in the DownloadRequest CR structure. These files are already present in the backup layout.

View File

@@ -1 +0,0 @@
When spec.RestoreStatus is empty, don't restore status

View File

@@ -1 +0,0 @@
Delete opened issues triage action.

View File

@@ -1 +0,0 @@
Fix typo in doc, in https://velero.io/docs/main/restore-reference/ "Restore order" section, "Mamespace" should be "Namespace".

View File

@@ -1 +0,0 @@
Modify Github actions.

View File

@@ -1 +0,0 @@
Move 'velero.io/exclude-from-backup' label string to const

View File

@@ -1 +0,0 @@
Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.io" from restore by default.

View File

@@ -1 +0,0 @@
Fix bsl validation bug: the BSL is validated continually and doesn't respect the validation period configured

View File

@@ -1 +0,0 @@
Make CSI snapshot creation timeout configurable.

View File

@@ -1 +0,0 @@
Dump stack trace when the plugin server handles panic

View File

@@ -1 +0,0 @@
Modify BackupStoreGetter to avoid BSL spec changes

View File

@@ -1 +0,0 @@
Let "make shell xxx" respect GOPROXY

View File

@@ -1 +0,0 @@
Update the CRD for kopia integration

View File

@@ -1,4 +0,0 @@
Kopia Integration: Add the Unified Repository Interface definition.
Kopia Integration: Add the changes for Unified Repository storage config.
Related Issues; #5076, #5080

View File

@@ -1 +0,0 @@
This commit splits the pkg/restic package into several packages to support Kopia integration works

View File

@@ -1 +0,0 @@
Delay CA file deletion in PVB controller.

View File

@@ -1 +0,0 @@
VolumeSnapshotLocation refactor with kubebuilder.

View File

@@ -1 +0,0 @@
Add labeled and unlabeled events for PR changelog check action.

View File

@@ -1 +0,0 @@
Kopia uploader integration on shim progress uploader module

View File

@@ -1 +0,0 @@
Skip registering "crd-remap-version" plugin when feature flag "EnableAPIGroupVersions" is set

View File

@@ -1 +0,0 @@
Add changes for Kopia Integration: Unified Repository Provider - Repo Password

View File

@@ -1 +0,0 @@
Fix restic backups to multiple backup storage locations bug

View File

@@ -1 +0,0 @@
Reduce CRD size.

View File

@@ -1,2 +0,0 @@
Treat namespaces with exclude label as excludedNamespaces
Related issue: #2413

View File

@@ -1 +0,0 @@
Add changes for Kopia Integration: Unified Repository Provider - method implementation

View File

@@ -1 +0,0 @@
Add annotation "pv.kubernetes.io/migrated-to" for CSI checking.

View File

@@ -1 +0,0 @@
Add parameter "uploader-type" to velero server

View File

@@ -1 +0,0 @@
Uploader Implementation: Restic backup and restore

View File

@@ -1 +0,0 @@
Refactor GCController with kubebuilder

View File

@@ -1 +0,0 @@
check vsc null pointer

View File

@@ -1 +0,0 @@
Migrate backup sync controller from code-generator to kubebuilder.

View File

@@ -1 +0,0 @@
Uploader Implementation: Kopia backup and restore

View File

@@ -1 +0,0 @@
Add changes for Kopia Integration: Kopia Lib - initialize Kopia repo

View File

@@ -1,2 +0,0 @@
Add changes for Kopia Integration: Kopia Lib - method implementation
Add changes to write Kopia Repository logs to Velero log

View File

@@ -1 +0,0 @@
Remove reference to non-existent doc

View File

@@ -1 +0,0 @@
Check for empty ns list before checking nslist[0]

View File

@@ -1 +0,0 @@
Fix edge cases for already exists resources

View File

@@ -1 +0,0 @@
Controller refactor code modifications.

View File

@@ -1 +0,0 @@
Fix nil pointer panic when restoring StatefulSets

View File

@@ -1 +0,0 @@
equip gc controller with configurable frequency

View File

@@ -1 +0,0 @@
Add csiSnapshotTimeout for describe backup

View File

@@ -1 +0,0 @@
Fill gaps for Kopia path of PVBR: integrate Repo Manager with Unified Repo; pass UploaderType to PVBR backupper and restorer; pass RepositoryType to BackupRepository controller and Repo Ensurer

View File

@@ -1 +0,0 @@
Don't move velero v1 plugins to new proto dir

View File

@@ -1 +0,0 @@
plugin/clientmgmt refactoring for BackupItemAction v1

View File

@@ -1 +0,0 @@
Support pause/unpause schedules

View File

@@ -1 +0,0 @@
Add changes for problems/enhancements found during smoking test for Kopia pod volume backup/restore

View File

@@ -1 +0,0 @@
Add backup status checking in schedule controller.

View File

@@ -1 +0,0 @@
Add more detailed comments for labels columns.

View File

@@ -1 +0,0 @@
Optimize code for restore exists resources.

View File

@@ -1 +0,0 @@
change CSISnapshotTimeout from pointer to normal variables.

View File

@@ -1 +0,0 @@
Remove github.com/apex/log logger.

View File

@@ -1 +0,0 @@
Remove snapshot related lister, informer and client from backup controller.

View File

@@ -1 +0,0 @@
Refactor the repoEnsurer code to use controller runtime client and wrap some common BackupRepository operations to share with other modules

View File

@@ -1 +0,0 @@
RestoreItemAction v1 refactoring for plugin api versioning

View File

@@ -1 +0,0 @@
Change the status of restore to completed from partially failed when restore empty backup

View File

@@ -1 +0,0 @@
plugin versioning v1 refactor for VolumeSnapshotter

View File

@@ -1 +0,0 @@
Fix issue 4874 and 4752: check the daemonset pod is running in the node where the workload pod resides before running the PVB for the pod

View File

@@ -1 +0,0 @@
Fix PVB finds wrong parent snapshot

View File

@@ -1 +0,0 @@
Cancel downloadRequest when timeout without downloadURL

View File

@@ -1 +0,0 @@
Add opt-in and opt-out PersistentVolume backup to E2E tests

View File

@@ -1 +0,0 @@
Increase ensure restic repository timeout to 5m

View File

@@ -1 +0,0 @@
Resolve gopkg.in/yaml.v3 vulnerabilities by upgrading gopkg.in/yaml.v3 to v3.0.1

View File

@@ -1 +0,0 @@
Fix restore cmd extraflag overwrite bug

View File

@@ -1 +0,0 @@
Clarify the help message for the default value of parameter --snapshot-volumes, when it's not set.

View File

@@ -1 +0,0 @@
Add useOwnerReferencesInBackup field doc for schedule.

View File

@@ -1 +0,0 @@
Add E2E test for schedule backup

View File

@@ -1 +0,0 @@
Fix a repoEnsurer problem introduced by the refactor - The repoEnsurer didn't check "" state of BackupRepository, as a result, the function GetBackupRepository always returns without an error even though the ensreReady is specified.

View File

@@ -1 +0,0 @@
Added backupController's UT to test the prepareBackupRequest() method BackupStorageLocation processing logic

View File

@@ -1 +0,0 @@
Pod Volume Backup/Restore Refactor: Rename parameters in CRDs and commands to remove "Restic" word

View File

@@ -1 +0,0 @@
Fix restore error with flag namespace-mappings

View File

@@ -1 +0,0 @@
Fix issue 5386: Velero providers a full URL as the S3Url while the underlying minio client only accept the host part of the URL as the endpoint and the schema should be specified separately.

View File

@@ -1 +0,0 @@
Add some corner cases checking for CSI snapshot in backup controller.

View File

@@ -1 +0,0 @@
Rename Velero daemonset from "restic" to "node-agent"

View File

@@ -1 +0,0 @@
Fix Test_prepareBackupRequest_BackupStorageLocation UT failure.

View File

@@ -1 +0,0 @@
update velero using klog to version v2.9.0

View File

@@ -1 +0,0 @@
Add nil check before execution of csi snapshot delete

View File

@@ -1 +0,0 @@
Change B/R describe CLI to support Kopia

View File

@@ -1 +0,0 @@
Skip the exclusion check for additional resources returned by BIA

View File

@@ -1 +0,0 @@
Rename Velero pod volume restore init helper from "velero-restic-restore-helper" to "velero-restore-helper"

View File

@@ -1 +0,0 @@
moved RIA execute input/output structs back to velero package

View File

@@ -1 +0,0 @@
Remove irrational "Restic" names in Velero code after the PVBR refactor

View File

@@ -1 +0,0 @@
Change subcommand `velero restic repo` to `velero repo`

View File

@@ -1 +0,0 @@
Add VolumeSnapshot client back.

View File

@@ -1 +0,0 @@
Upgrade velero docker image to use go 1.18 and upgrade golangci-lint to 1.45.0

View File

@@ -1 +0,0 @@
Add v1.10 velero upgrade doc

View File

@@ -1,6 +0,0 @@
Update the k8s.io dependencies to 0.24.0.
This also required an update to github.com/bombsimon/logrusr/v3.
Removed the `WithClusterName` method
as it is a "legacy field that was
always cleared by the system and never used" as per upstream k8s
https://github.com/kubernetes/apimachinery/blob/release-1.24/pkg/apis/meta/v1/types.go#L257-L259

View File

@@ -1 +0,0 @@
Issue fix 5477: create the common way to support S3 compatible object storages that work for both Restic and Kopia; Keep the resticRepoPrefix parameter for compatibility

View File

@@ -1 +0,0 @@
Remove redundancy code block left by #5388.

Some files were not shown because too many files have changed in this diff Show More