You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 713fcdc
Browse filesBrowse the repository at this point in the historyBrowse files
## What this PR does
Bumps velero from 11.0.0 to 12.0.3 (appVersion 1.17.0 → 1.18.1, latest
upstream), picking up the published security fixes the issue enumerates
across the velero server and its backup plugins.
- Re-vendors the chart via `make update` (now pinned to `--version
12.0.3` for reproducible re-vendoring). The 12.0 major bump's
values-schema changes are backward-compatible (two required fields
relaxed, one optional key added), so all cozystack overrides
(`upgradeCRDs`, `initContainers`, `configuration.*`, `deployNodeAgent`)
stay valid.
- Moves the backup-plugin initContainers to their velero-1.18-aligned
releases: `velero-plugin-for-aws` v1.12.1 → v1.14.1 (the release that
bumps to velero 1.18.1; also corrects a pre-existing plugin/server skew)
and `kubevirt-velero-plugin` v0.8.0 → v0.9.0.
- Adds helm-unittest coverage (the package shipped none): pins the
server + plugin image tags and the `upgradeCRDs: false` → no
upgrade-crds Job invariant, which has silently regressed before.
The 1.18 "PVC selected-node" deprecation needs no action (velero handles
it transparently); CRD changes are additive.
Verified: `helm template` renders all three images; `helm unittest` 3/3
pass (mutation-checked).
**Upgrade note:** Helm v3 does not update CRDs on `helm upgrade`
(upgradeCRDs is disabled). On existing clusters the 1.18 CRDs must be
applied manually (`kubectl apply --filename
packages/system/velero/charts/velero/crds/`).
Closescozystack#2886
### Release note
```release-note
chore(velero): bump velero to 12.0.3 (app 1.18.1) and backup plugins to velero-1.18-compatible releases
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added Backup status queue tracking (`queuePosition`) plus new `phase`
states.
* Added `caCertRef` Secret reference for BackupStorageLocation (with
`caCert` marked deprecated).
* Added incremental-bytes reporting (DataUpload, PodVolumeBackup) and
`snapshotSize` for PodVolumeRestore.
* Added `backupSyncPeriod` configuration and `nodeAgent.disableHostPath`
option.
* **Upgrades**
* Updated Velero to app 1.18.1 / chart 12.0.3, including plugin image
tag bumps and updated kubectl image defaults.
* Added chart/app version labels across key resources.
* **Operational Improvements**
* Improved CRD cleanup/upgrade job execution and tuned the
“VeleroNoNewBackup” alert.
* **Tests**
* Added a `test` target (runs `helm unittest`) and expanded chart
rendering invariants checks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: packages/system/velero/charts/velero/crds/backupstoragelocations.yaml
+38-10Lines changed: 38 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,8 @@ spec:
23
23
jsonPath: .status.phase
24
24
name: Phase
25
25
type: string
26
-
- description: LastValidationTime is the last time the backup store location
27
-
was validated
26
+
- description: LastValidationTime is the last time the backup store location was
27
+
validated
28
28
jsonPath: .status.lastValidationTime
29
29
name: Last Validated
30
30
type: date
@@ -59,8 +59,8 @@ spec:
59
59
metadata:
60
60
type: object
61
61
spec:
62
-
description: BackupStorageLocationSpec defines the desired state of
63
-
a Velero BackupStorageLocation
62
+
description: BackupStorageLocationSpec defines the desired state of a
63
+
Velero BackupStorageLocation
64
64
properties:
65
65
accessMode:
66
66
description: AccessMode defines the permissions for the backup storage
@@ -84,8 +84,8 @@ spec:
84
84
to be used with this location
85
85
properties:
86
86
key:
87
-
description: The key of the secret to select from. Must be
88
-
a valid secret key.
87
+
description: The key of the secret to select from. Must be a
88
+
valid secret key.
89
89
type: string
90
90
name:
91
91
default: ""
@@ -115,10 +115,38 @@ spec:
115
115
description: Bucket is the bucket to use for object storage.
116
116
type: string
117
117
caCert:
118
-
description: CACert defines a CA bundle to use when verifying
119
-
TLS connections to the provider.
118
+
description: |-
119
+
CACert defines a CA bundle to use when verifying TLS connections to the provider.
120
+
Deprecated: Use CACertRef instead.
120
121
format: byte
121
122
type: string
123
+
caCertRef:
124
+
description: |-
125
+
CACertRef is a reference to a Secret containing the CA certificate bundle to use
126
+
when verifying TLS connections to the provider. The Secret must be in the same
127
+
namespace as the BackupStorageLocation.
128
+
properties:
129
+
key:
130
+
description: The key of the secret to select from. Must be
131
+
a valid secret key.
132
+
type: string
133
+
name:
134
+
default: ""
135
+
description: |-
136
+
Name of the referent.
137
+
This field is effectively required, but due to backwards compatibility is
138
+
allowed to be empty. Instances of this type with an empty value here are
139
+
almost certainly wrong.
140
+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
141
+
type: string
142
+
optional:
143
+
description: Specify whether the Secret or its key must be
144
+
defined
145
+
type: boolean
146
+
required:
147
+
- key
148
+
type: object
149
+
x-kubernetes-map-type: atomic
122
150
prefix:
123
151
description: Prefix is the path inside a bucket to use for Velero
124
152
storage. Optional.
@@ -139,8 +167,8 @@ spec:
139
167
- provider
140
168
type: object
141
169
status:
142
-
description: BackupStorageLocationStatus defines the observed state
143
-
of BackupStorageLocation
170
+
description: BackupStorageLocationStatus defines the observed state of
0 commit comments