Skip to content

Commit ddca122

Browse files
authored
feat: update velero to 1.17.1 (#764)
1 parent a4cc3db commit ddca122

10 files changed

Lines changed: 164 additions & 29 deletions

velero.io/backup_v1.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"type": "boolean"
3030
},
3131
"defaultVolumesToRestic": {
32-
"description": "DefaultVolumesToRestic specifies whether restic should be used to take a\nbackup of all pod volumes by default.\n\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.",
32+
"description": "DefaultVolumesToRestic specifies whether restic should be used to take a\nbackup of all pod volumes by default.\n\nDeprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.",
3333
"nullable": true,
3434
"type": "boolean"
3535
},
@@ -127,7 +127,8 @@
127127
"items": {
128128
"type": "string"
129129
},
130-
"type": "array"
130+
"type": "array",
131+
"x-kubernetes-list-type": "atomic"
131132
}
132133
},
133134
"required": [
@@ -137,7 +138,8 @@
137138
"type": "object",
138139
"additionalProperties": false
139140
},
140-
"type": "array"
141+
"type": "array",
142+
"x-kubernetes-list-type": "atomic"
141143
},
142144
"matchLabels": {
143145
"additionalProperties": {
@@ -328,7 +330,8 @@
328330
"items": {
329331
"type": "string"
330332
},
331-
"type": "array"
333+
"type": "array",
334+
"x-kubernetes-list-type": "atomic"
332335
}
333336
},
334337
"required": [
@@ -338,7 +341,8 @@
338341
"type": "object",
339342
"additionalProperties": false
340343
},
341-
"type": "array"
344+
"type": "array",
345+
"x-kubernetes-list-type": "atomic"
342346
},
343347
"matchLabels": {
344348
"additionalProperties": {
@@ -387,7 +391,8 @@
387391
"items": {
388392
"type": "string"
389393
},
390-
"type": "array"
394+
"type": "array",
395+
"x-kubernetes-list-type": "atomic"
391396
}
392397
},
393398
"required": [
@@ -397,7 +402,8 @@
397402
"type": "object",
398403
"additionalProperties": false
399404
},
400-
"type": "array"
405+
"type": "array",
406+
"x-kubernetes-list-type": "atomic"
401407
},
402408
"matchLabels": {
403409
"additionalProperties": {
@@ -476,6 +482,10 @@
476482
"type": "object",
477483
"additionalProperties": false
478484
},
485+
"volumeGroupSnapshotLabelKey": {
486+
"description": "VolumeGroupSnapshotLabelKey specifies the label key to group PVCs under a VGS.",
487+
"type": "string"
488+
},
479489
"volumeSnapshotLocations": {
480490
"description": "VolumeSnapshotLocations is a list containing names of VolumeSnapshotLocations associated with this backup.",
481491
"items": {

velero.io/backuprepository_v1.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"type": "string"
4141
},
4242
"resticIdentifier": {
43-
"description": "ResticIdentifier is the full restic-compatible string for identifying\nthis repository.",
43+
"description": "ResticIdentifier is the full restic-compatible string for identifying\nthis repository. This field is only used when RepositoryType is \"restic\".",
4444
"type": "string"
4545
},
4646
"volumeNamespace": {
@@ -51,7 +51,6 @@
5151
"required": [
5252
"backupStorageLocation",
5353
"maintenanceFrequency",
54-
"resticIdentifier",
5554
"volumeNamespace"
5655
],
5756
"type": "object",
@@ -61,7 +60,7 @@
6160
"description": "BackupRepositoryStatus is the current status of a BackupRepository.",
6261
"properties": {
6362
"lastMaintenanceTime": {
64-
"description": "LastMaintenanceTime is the last time maintenance was run.",
63+
"description": "LastMaintenanceTime is the last time repo maintenance succeeded.",
6564
"format": "date-time",
6665
"nullable": true,
6766
"type": "string"
@@ -78,6 +77,40 @@
7877
"NotReady"
7978
],
8079
"type": "string"
80+
},
81+
"recentMaintenance": {
82+
"description": "RecentMaintenance is status of the recent repo maintenance.",
83+
"items": {
84+
"properties": {
85+
"completeTimestamp": {
86+
"description": "CompleteTimestamp is the completion time of the repo maintenance.",
87+
"format": "date-time",
88+
"nullable": true,
89+
"type": "string"
90+
},
91+
"message": {
92+
"description": "Message is a message about the current status of the repo maintenance.",
93+
"type": "string"
94+
},
95+
"result": {
96+
"description": "Result is the result of the repo maintenance.",
97+
"enum": [
98+
"Succeeded",
99+
"Failed"
100+
],
101+
"type": "string"
102+
},
103+
"startTimestamp": {
104+
"description": "StartTimestamp is the start time of the repo maintenance.",
105+
"format": "date-time",
106+
"nullable": true,
107+
"type": "string"
108+
}
109+
},
110+
"type": "object",
111+
"additionalProperties": false
112+
},
113+
"type": "array"
81114
}
82115
},
83116
"type": "object",

velero.io/backupstoragelocation_v1.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"type": "string"
4444
},
4545
"name": {
46-
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?",
46+
"default": "",
47+
"description": "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
4748
"type": "string"
4849
},
4950
"optional": {
@@ -106,15 +107,15 @@
106107
"description": "BackupStorageLocationStatus defines the observed state of BackupStorageLocation",
107108
"properties": {
108109
"accessMode": {
109-
"description": "AccessMode is an unused field.\n\n\nDeprecated: there is now an AccessMode field on the Spec and this field\nwill be removed entirely as of v2.0.",
110+
"description": "AccessMode is an unused field.\n\nDeprecated: there is now an AccessMode field on the Spec and this field\nwill be removed entirely as of v2.0.",
110111
"enum": [
111112
"ReadOnly",
112113
"ReadWrite"
113114
],
114115
"type": "string"
115116
},
116117
"lastSyncedRevision": {
117-
"description": "LastSyncedRevision is the value of the `metadata/revision` file in the backup\nstorage location the last time the BSL's contents were synced into the cluster.\n\n\nDeprecated: this field is no longer updated or used for detecting changes to\nthe location's contents and will be removed entirely in v2.0.",
118+
"description": "LastSyncedRevision is the value of the `metadata/revision` file in the backup\nstorage location the last time the BSL's contents were synced into the cluster.\n\nDeprecated: this field is no longer updated or used for detecting changes to\nthe location's contents and will be removed entirely in v2.0.",
118119
"type": "string"
119120
},
120121
"lastSyncedTime": {

velero.io/datadownload_v2alpha1.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@
3434
"description": "DataMover specifies the data mover to be used by the backup.\nIf DataMover is \"\" or \"velero\", the built-in data mover will be used.",
3535
"type": "string"
3636
},
37+
"nodeOS": {
38+
"description": "NodeOS is OS of the node where the DataDownload is processed.",
39+
"enum": [
40+
"auto",
41+
"linux",
42+
"windows"
43+
],
44+
"type": "string"
45+
},
3746
"operationTimeout": {
3847
"description": "OperationTimeout specifies the time used to wait internal operations,\nbefore returning error as timeout.",
3948
"type": "string"
@@ -84,6 +93,16 @@
8493
"status": {
8594
"description": "DataDownloadStatus is the current status of a DataDownload.",
8695
"properties": {
96+
"acceptedByNode": {
97+
"description": "Node is name of the node where the DataUpload is prepared.",
98+
"type": "string"
99+
},
100+
"acceptedTimestamp": {
101+
"description": "AcceptedTimestamp records the time the DataUpload is to be prepared.\nThe server's time is used for AcceptedTimestamp",
102+
"format": "date-time",
103+
"nullable": true,
104+
"type": "string"
105+
},
87106
"completionTimestamp": {
88107
"description": "CompletionTimestamp records the time a restore was completed.\nCompletion time is recorded even on failed restores.\nThe server's time is used for CompletionTimestamps",
89108
"format": "date-time",

velero.io/dataupload_v2alpha1.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"description": "If SnapshotType is CSI, CSISnapshot provides the information of the CSI snapshot.",
2828
"nullable": true,
2929
"properties": {
30+
"driver": {
31+
"description": "Driver is the driver used by the VolumeSnapshotContent",
32+
"type": "string"
33+
},
3034
"snapshotClass": {
3135
"description": "SnapshotClass is the name of the snapshot class that the volume snapshot is created with",
3236
"type": "string"
@@ -89,6 +93,16 @@
8993
"status": {
9094
"description": "DataUploadStatus is the current status of a DataUpload.",
9195
"properties": {
96+
"acceptedByNode": {
97+
"description": "AcceptedByNode is name of the node where the DataUpload is prepared.",
98+
"type": "string"
99+
},
100+
"acceptedTimestamp": {
101+
"description": "AcceptedTimestamp records the time the DataUpload is to be prepared.\nThe server's time is used for AcceptedTimestamp",
102+
"format": "date-time",
103+
"nullable": true,
104+
"type": "string"
105+
},
92106
"completionTimestamp": {
93107
"description": "CompletionTimestamp records the time a backup was completed.\nCompletion time is recorded even on failed backups.\nCompletion time is recorded before uploading the backup object.\nThe server's time is used for CompletionTimestamps",
94108
"format": "date-time",
@@ -111,6 +125,15 @@
111125
"description": "Node is name of the node where the DataUpload is processed.",
112126
"type": "string"
113127
},
128+
"nodeOS": {
129+
"description": "NodeOS is OS of the node where the DataUpload is processed.",
130+
"enum": [
131+
"auto",
132+
"linux",
133+
"windows"
134+
],
135+
"type": "string"
136+
},
114137
"path": {
115138
"description": "Path is the full path of the snapshot volume being backed up.",
116139
"type": "string"

velero.io/podvolumebackup_v1.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.",
1919
"type": "string"
2020
},
21+
"cancel": {
22+
"description": "Cancel indicates request to cancel the ongoing PodVolumeBackup. It can be set\nwhen the PodVolumeBackup is in InProgress phase",
23+
"type": "boolean"
24+
},
2125
"node": {
2226
"description": "Node is the name of the node that the Pod is running on.",
2327
"type": "string"
@@ -30,7 +34,7 @@
3034
"type": "string"
3135
},
3236
"fieldPath": {
33-
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
37+
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.",
3438
"type": "string"
3539
},
3640
"kind": {
@@ -104,6 +108,12 @@
104108
"status": {
105109
"description": "PodVolumeBackupStatus is the current status of a PodVolumeBackup.",
106110
"properties": {
111+
"acceptedTimestamp": {
112+
"description": "AcceptedTimestamp records the time the pod volume backup is to be prepared.\nThe server's time is used for AcceptedTimestamp",
113+
"format": "date-time",
114+
"nullable": true,
115+
"type": "string"
116+
},
107117
"completionTimestamp": {
108118
"description": "CompletionTimestamp records the time a backup was completed.\nCompletion time is recorded even on failed backups.\nCompletion time is recorded before uploading the backup object.\nThe server's time is used for CompletionTimestamps",
109119
"format": "date-time",
@@ -122,7 +132,11 @@
122132
"description": "Phase is the current state of the PodVolumeBackup.",
123133
"enum": [
124134
"New",
135+
"Accepted",
136+
"Prepared",
125137
"InProgress",
138+
"Canceling",
139+
"Canceled",
126140
"Completed",
127141
"Failed"
128142
],

velero.io/podvolumerestore_v1.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"description": "BackupStorageLocation is the name of the backup storage location\nwhere the backup repository is stored.",
1919
"type": "string"
2020
},
21+
"cancel": {
22+
"description": "Cancel indicates request to cancel the ongoing PodVolumeRestore. It can be set\nwhen the PodVolumeRestore is in InProgress phase",
23+
"type": "boolean"
24+
},
2125
"pod": {
2226
"description": "Pod is a reference to the pod containing the volume to be restored.",
2327
"properties": {
@@ -26,7 +30,7 @@
2630
"type": "string"
2731
},
2832
"fieldPath": {
29-
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.",
33+
"description": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.",
3034
"type": "string"
3135
},
3236
"kind": {
@@ -102,6 +106,12 @@
102106
"status": {
103107
"description": "PodVolumeRestoreStatus is the current status of a PodVolumeRestore.",
104108
"properties": {
109+
"acceptedTimestamp": {
110+
"description": "AcceptedTimestamp records the time the pod volume restore is to be prepared.\nThe server's time is used for AcceptedTimestamp",
111+
"format": "date-time",
112+
"nullable": true,
113+
"type": "string"
114+
},
105115
"completionTimestamp": {
106116
"description": "CompletionTimestamp records the time a restore was completed.\nCompletion time is recorded even on failed restores.\nThe server's time is used for CompletionTimestamps",
107117
"format": "date-time",
@@ -112,11 +122,19 @@
112122
"description": "Message is a message about the pod volume restore's status.",
113123
"type": "string"
114124
},
125+
"node": {
126+
"description": "Node is name of the node where the pod volume restore is processed.",
127+
"type": "string"
128+
},
115129
"phase": {
116130
"description": "Phase is the current state of the PodVolumeRestore.",
117131
"enum": [
118132
"New",
133+
"Accepted",
134+
"Prepared",
119135
"InProgress",
136+
"Canceling",
137+
"Canceled",
120138
"Completed",
121139
"Failed"
122140
],

0 commit comments

Comments
 (0)