Skip to content

Commit 3923b55

Browse files
jelemuxcesmarvin
authored andcommitted
Merge branch 'release/v5.0.2-12'
2 parents f325728 + d2051fd commit 3923b55

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v5.0.2-12] - 2025-05-08
10+
### Fixed
11+
- [#24] Restore of backup components lead to errors after restore
12+
- This is because the component operator would detect a downgrade, which is not allowed.
13+
Or worse, an upgrade during the restore operation would cause it to fail.
14+
15+
### Changed
16+
- [#24] exclude all components of the backup stack in the restore
17+
918
## [v5.0.2-11] - 2025-05-07
1019
### Added
1120
- [#22] Plugin for restore exclude

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARTIFACT_ID=k8s-velero
2-
VERSION=5.0.2-11
2+
VERSION=5.0.2-12
33
MAKEFILES_VERSION=9.9.1
44
REGISTRY_NAMESPACE?=k8s
55
HELM_REPO_ENDPOINT=k3ces.local:30099

k8s/helm/templates/restore-exclude-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ metadata:
2525
data:
2626
restore: |
2727
exclude:
28-
{{ toYaml .Values.excludedFromRestores | nindent 6 }}
28+
{{- toYaml .Values.excludedFromRestores | nindent 6 }}

k8s/helm/values.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,28 @@ volumesnapshotclass:
156156

157157
excludedFromRestores:
158158
- name: "ces-loadbalancer"
159-
group: ""
160-
version: "v1"
161159
kind: "Service"
160+
version: "*"
161+
- name: "k8s-backup-operator"
162+
kind: "Component"
163+
version: "*"
164+
group: "k8s.cloudogu.com"
165+
- name: "k8s-backup-operator-crd"
166+
kind: "Component"
167+
version: "*"
168+
group: "k8s.cloudogu.com"
169+
- name: "k8s-snapshot-controller"
170+
kind: "Component"
171+
version: "*"
172+
group: "k8s.cloudogu.com"
173+
- name: "k8s-snapshot-controller-crd"
174+
kind: "Component"
175+
version: "*"
176+
group: "k8s.cloudogu.com"
177+
- name: "k8s-velero"
178+
kind: "Component"
179+
version: "*"
180+
group: "k8s.cloudogu.com"
162181

163182
networkPolicies:
164183
enabled: true

0 commit comments

Comments
 (0)