Compare commits

...

77 Commits

Author SHA1 Message Date
lyndon
7416504e3a Merge pull request #5905 from danfengliu/cherrypick-rollback-velero-client-factory-code
[Cherrypick 1.10] rollback velero client factory code
2023-02-23 15:03:54 +08:00
lyndon
f80c947a19 Merge branch 'release-1.10' into cherrypick-rollback-velero-client-factory-code 2023-02-23 14:50:06 +08:00
lyndon
f5124ecf7a Merge pull request #5909 from Lyndon-Li/release-1.10
Fix main CI problem 02
2023-02-23 12:40:10 +08:00
Lyndon-Li
81e52c5f70 fix main CI problem 02
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-02-23 12:28:09 +08:00
lyndon
7e031a7936 Merge pull request #5908 from Lyndon-Li/release-1.10
Fix main CI disk space error
2023-02-23 11:15:50 +08:00
Lyndon-Li
e6d9f2ef40 fix main CI disk space error
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-02-23 10:59:09 +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
danfengl
1084cc01c3 Merge branch 'release-1.10' of https://github.com/vmware-tanzu/velero into release-1.10 2023-02-22 14:03:30 +00:00
qiuming
dcf1b00569 Merge pull request #5897 from Lyndon-Li/release-1.10
1.10.2 change log
2023-02-22 10:35:30 +08:00
Lyndon-Li
4d2e1ccdce 1.10.2 change log
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-02-22 10:00:32 +08:00
lyndon
b665614f94 Merge pull request #5891 from blackpiglet/release-1.10
Update distroless image and fix CVE-2022-41717 for release-1.10
2023-02-21 15:25:29 +08:00
Xun Jiang
82ef5317c5 Update distroless image and fix CVE-2022-41717 for release-1.10
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-02-21 15:10:21 +08:00
lyndon
2b6a55958d Merge pull request #5890 from qiuming-best/release-1.10
[cherry-pick]Set Kopia IgnoreUnknownTypes in ErrorHandlingPolicy to True for ignoring backup unknown file type
2023-02-21 15:09:02 +08: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
lyndon
dbb1bc2912 Merge pull request #5879 from reasonerjt/cp-backup-result-1.10
[Cherrypick-1.10]Publish backup results extracted from backup logs
2023-02-21 13:57:29 +08:00
lyndon
b192665024 Merge branch 'release-1.10' into cp-backup-result-1.10 2023-02-21 13:42:26 +08:00
lyndon
cecbde4423 Merge pull request #5888 from blackpiglet/release-1.10
[cherry-pick][release-1.10]Add labels for velero installed namespace to support PSA
2023-02-21 12:51:10 +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(尹文开)
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 Ahuja
9973e2e0c4 Publish backup results extracted from backup logs
Signed-off-by: Anshul Ahuja <anshulahuja@microsoft.com>
2023-02-20 11:08:36 +08:00
Xun Jiang/Bruce Jiang
42fb499b9b Merge pull request #5869 from ywk253100/230217_secret
[cherry-pick]Add secret restore item action to handle service account token secret
2023-02-17 17:12:08 +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
lyndon
1e015ecb15 Merge pull request #5830 from kaovilai/pvb-pvr-should-fail-during-startup-release-1.10
release-1.10: Use updated PVB/PVR for patching Failed Phase during startup
2023-02-08 10:05:11 +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
danfengliu
948b3790d5 Merge pull request #5817 from blackpiglet/release-1.10
Fix Restic v0.14.0 HIGH grade CVEs.
2023-02-02 11:00:50 +08:00
Xun Jiang
29ebd16253 Fix Restic v0.14.0 HIGH grade CVEs.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-02-02 10:46:09 +08:00
qiuming
3de7951161 Merge pull request #5813 from Lyndon-Li/release-1.10
add change log
2023-02-01 16:26:46 +08:00
Lyndon-Li
3070198307 add change log
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-02-01 16:00:05 +08:00
Xun Jiang/Bruce Jiang
4806db925f Merge pull request #5811 from Lyndon-Li/release-1.10
bump up golang net
2023-02-01 15:15:31 +08:00
Lyndon-Li
203e9560d1 bump up golang net
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-02-01 13:42:06 +08:00
lyndon
e4d2a83917 Merge pull request #5785 from Lyndon-Li/release-1.10
Add 1.10.1 changelog
2023-01-19 12:07:25 +08:00
Lyndon-Li
8dcc720641 add 1.10.1 changelog
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-01-19 11:50:57 +08:00
Xun Jiang/Bruce Jiang
d594cc5217 Merge pull request #5780 from Lyndon-Li/release-1.10
Bump up to golang 1.18.10
2023-01-18 17:18:52 +08:00
Lyndon-Li
0a114c50c3 bump up to golang 1.18.10
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2023-01-18 16:56:12 +08:00
qiuming
fa162a31bc Merge pull request #5770 from blackpiglet/release-1.10
[cherry-pick][v1.10] Remove container-builder-env section and add pr-containers action
2023-01-18 14:02:46 +08:00
Xun Jiang
bc7d1d0f82 Add GOARM in Restic builder. Add PR container build action.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-18 10:02:04 +08:00
Xun Jiang
fce9669021 Remove container-builder-env section.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-16 19:33:44 +08:00
Xun Jiang
118a4e2f72 Remove container-builder-env section.
​
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-16 07:37:02 +00:00
qiuming
62287da133 Merge pull request #5765 from blackpiglet/release-1.10
[cherry-pick][v1.10] Add Restic builder in Dockerfile
2023-01-13 16:34:45 +08:00
Xun Jiang
0f9f5f0b71 Fix Dockerfile issue.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-13 14:50:41 +08:00
Xun Jiang
1b309ef61f Add Restic builder in Dockerfile.
Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
2023-01-13 14:23:05 +08:00
lyndon
57ffffccab Merge pull request #5708 from dymurray/panic110
Prevent nil panic on exec restore hooks (#5675)
2023-01-03 10:06:17 +08:00
lyndon
8bee9c9f71 Merge branch 'release-1.10' into panic110 2023-01-03 09:47:44 +08:00
qiuming
b73914d1cc Merge pull request #5714 from Lyndon-Li/release-1.10
[1.10] Fix issue 5696
2022-12-22 10:48:43 +08:00
Lyndon-Li
1b846103dc fix issue 5696
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
2022-12-21 12:47:00 +08:00
lyndon
f2fe0f6b17 Merge pull request #5711 from qiuming-best/release-1.10
Fix error with Restic backup empty volumes
2022-12-20 10:57:57 +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
7b15b0ab5b Fix changelog
Signed-off-by: Dylan Murray <dymurray@redhat.com>
2022-12-19 10:00:14 -05: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
Xun Jiang/Bruce Jiang
d1945d1db3 Merge pull request #5655 from qiuming-best/release-1.10
[Cherry-Pick]Fix CVEs scanned by trivy
2022-12-06 16:25:38 +08:00
Ming
e0642125cd Fix CVEs scanned by trivy
Signed-off-by: Ming <mqiu@vmware.com>
2022-12-02 09:59:19 +00:00
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
262 changed files with 2495 additions and 429 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.10
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.10
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.10
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.10
id: go
- name: Check out the code
uses: actions/checkout@v2

37
.github/workflows/pr-containers.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: build Velero containers on Dockerfile change
on:
pull_request:
branches:
- 'main'
- 'release-**'
paths:
- 'Dockerfile'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest
# Although this action also calls docker-push.sh, it is not triggered
# by push, so BRANCH and TAG are empty by default. docker-push.sh will
# only build Velero image without pushing.
- name: Make Velero container without pushing to registry.
if: github.repository == 'vmware-tanzu/velero'
run: |
./hack/docker-push.sh

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.10
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'
@@ -94,4 +99,7 @@ jobs:
- name: Publish container image to GCR
if: github.repository == 'vmware-tanzu/velero'
run: |
sudo swapoff -a
sudo rm -f /mnt/swapfile
docker image prune -a --force
REGISTRY=gcr.io/velero-gcp ./hack/docker-push.sh

View File

@@ -11,48 +11,68 @@
# 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
# Velero binary build section
FROM --platform=$BUILDPLATFORM golang:1.18.10 as velero-builder
ARG GOPROXY
ARG BIN
ARG PKG
ARG VERSION
ARG REGISTRY
ARG GIT_SHA
ARG GIT_TREE_STATE
ARG REGISTRY
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ENV CGO_ENABLED=0 \
GO111MODULE=on \
GOPROXY=${GOPROXY} \
GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT} \
LDFLAGS="-X ${PKG}/pkg/buildinfo.Version=${VERSION} -X ${PKG}/pkg/buildinfo.GitSHA=${GIT_SHA} -X ${PKG}/pkg/buildinfo.GitTreeState=${GIT_TREE_STATE} -X ${PKG}/pkg/buildinfo.ImageRegistry=${REGISTRY}"
WORKDIR /go/src/github.com/vmware-tanzu/velero
COPY . /go/src/github.com/vmware-tanzu/velero
FROM --platform=$BUILDPLATFORM builder-env as builder
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG PKG
ARG BIN
ARG RESTIC_VERSION
ENV GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT}
RUN mkdir -p /output/usr/bin && \
export GOARM=$( echo "${GOARM}" | cut -c2-) && \
bash ./hack/build-restic.sh && \
go build -o /output/${BIN} \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}
FROM gcr.io/distroless/base-debian11:nonroot
# Restic binary build section
FROM --platform=$BUILDPLATFORM golang:1.19.4-bullseye as restic-builder
ARG BIN
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG RESTIC_VERSION
env CGO_ENABLED=0 \
GO111MODULE=on \
GOPROXY=${GOPROXY} \
GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \
GOARM=${TARGETVARIANT}
COPY . /go/src/github.com/vmware-tanzu/velero
RUN mkdir -p /output/usr/bin && \
export GOARM=$(echo "${GOARM}" | cut -c2-) && \
/go/src/github.com/vmware-tanzu/velero/hack/build-restic.sh
# Velero image packing section
FROM gcr.io/distroless/base-debian11@sha256:db7ea5913b13bb5fc4a5f5ee5a1fab693d262846d3e7b28efd3f8f62f835c161
LABEL maintainer="Nolan Brubaker <brubakern@vmware.com>"
COPY --from=builder /output /
COPY --from=velero-builder /output /
COPY --from=restic-builder /output /
USER nonroot:nonroot

View File

@@ -82,7 +82,7 @@ see: https://velero.io/docs/main/build-from-source/#making-images-and-updating-v
endef
# The version of restic binary to be downloaded
RESTIC_VERSION ?= 0.13.1
RESTIC_VERSION ?= 0.14.0
CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 windows-amd64 linux-ppc64le
BUILDX_PLATFORMS ?= $(subst -,/,$(ARCH))
@@ -120,7 +120,7 @@ build-%:
all-build: $(addprefix build-, $(CLI_PLATFORMS))
all-containers: container-builder-env
all-containers:
@$(MAKE) --no-print-directory container
@$(MAKE) --no-print-directory container BIN=velero-restore-helper
@@ -178,20 +178,6 @@ shell: build-dirs build-env
$(BUILDER_IMAGE) \
/bin/sh $(CMD)
container-builder-env:
ifneq ($(BUILDX_ENABLED), true)
$(error $(BUILDX_ERROR))
endif
@docker buildx build \
--target=builder-env \
--build-arg=GOPROXY=$(GOPROXY) \
--build-arg=PKG=$(PKG) \
--build-arg=VERSION=$(VERSION) \
--build-arg=GIT_SHA=$(GIT_SHA) \
--build-arg=GIT_TREE_STATE=$(GIT_TREE_STATE) \
--build-arg=REGISTRY=$(REGISTRY) \
-f $(VELERO_DOCKERFILE) .
container:
ifneq ($(BUILDX_ENABLED), true)
$(error $(BUILDX_ERROR))
@@ -200,6 +186,7 @@ endif
--output=type=$(BUILDX_OUTPUT_TYPE) \
--platform $(BUILDX_PLATFORMS) \
$(addprefix -t , $(IMAGE_TAGS)) \
--build-arg=GOPROXY=$(GOPROXY) \
--build-arg=PKG=$(PKG) \
--build-arg=BIN=$(BIN) \
--build-arg=VERSION=$(VERSION) \

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.10 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,55 @@
## v1.10.0
### 2022-11-11
## v1.10.2
### 2023-02-22
### Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.10.2
### Container Image
`velero/velero:v1.10.2`
### Documentation
https://velero.io/docs/v1.10/
### Upgrading
https://velero.io/docs/v1.10/upgrade-to-1.10/
### All changes
* Update distroless image and fix CVE-2022-41717 for release-1.10 (#5891, @blackpiglet)
* Set Kopia IgnoreUnknownTypes in ErrorHandlingPolicy to True for ignoring backup unknown file type (#5890, @qiuiming-best)
* Add labels for velero installed namespace to support PSA. (#5888, @blackpiglet)
* Publish backupresults json to enhance error info during backups. (#5879, @anshulahuja98)
* Restore finalizer and managedFields of metadata during the restoration (#5877, @ywk253100)
* Add secret restore item action to handle service account token secret (#5869, @ywk253100)
* Correct PVB/PVR Failed Phase patching during startup (#5830, @kaovilai)
## v1.10.1
### 2023-01-19
### Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.10.1
### Container Image
`velero/velero:v1.10.1`
### Documentation
https://velero.io/docs/v1.10/
### Upgrading
https://velero.io/docs/v1.10/upgrade-to-1.10/
### All changes
* Fix Restic v0.14.0 HIGH grade CVEs. (#5817, @blackpiglet)
* Bump up golang net to fix CVE-2022-41721 (#5811, @Lyndon-Li)
* Bump up golang to 1.18.10 for Velero (#5780, @Lyndon-Li)
* Add PR container build action, which will not push image. Add GOARM parameter. Remove container-builder-env section. (#5770, @blackpiglet)
* Add Restic builder in Dockerfile, and keep the used built Golang image version in accordance with upstream Restic. (#5765, @blackpiglet)
* Fix issue 5696, check if the repo is still openable before running the prune and forget operation, if not, try to reconnect the repo (#5714, @Lyndon-Li)
* Fix error with Restic backup empty volumes (#5711, @qiuming-best)
* Prevent nil panic on exec restore hooks (#5708, @dymurray)
* Fix CVEs scanned by trivy (#5655, @qiuming-best)
## v1.10.0
### 2022-11-23
### Download
https://github.com/vmware-tanzu/velero/releases/tag/v1.10.0
@@ -20,20 +70,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 +91,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 +99,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 +113,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 +150,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 +177,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 +200,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 +209,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 +236,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

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