2
2
apiVersion : apiextensions.k8s.io/v1
3
3
kind : CustomResourceDefinition
4
4
metadata :
5
+ annotations :
6
+ controller-gen.kubebuilder.io/version : v0.16.5
5
7
labels :
6
8
component : velero
7
- annotations :
8
- controller-gen.kubebuilder.io/version : v0.14.0
9
9
name : backups.velero.io
10
10
spec :
11
11
group : velero.io
65
65
DefaultVolumesToRestic specifies whether restic should be used to take a
66
66
backup of all pod volumes by default.
67
67
68
-
69
68
Deprecated: this field is no longer used and will be removed entirely in future. Use DefaultVolumesToFsBackup instead.
70
69
nullable : true
71
70
type : boolean
@@ -125,8 +124,8 @@ spec:
125
124
nullable : true
126
125
type : array
127
126
excludedResources :
128
- description : ExcludedResources specifies the resources to
129
- which this hook spec does not apply.
127
+ description : ExcludedResources specifies the resources
128
+ to which this hook spec does not apply.
130
129
items :
131
130
type : string
132
131
nullable : true
@@ -148,8 +147,8 @@ spec:
148
147
nullable : true
149
148
type : array
150
149
labelSelector :
151
- description : LabelSelector, if specified, filters the resources
152
- to which this hook spec applies.
150
+ description : LabelSelector, if specified, filters the
151
+ resources to which this hook spec applies.
153
152
nullable : true
154
153
properties :
155
154
matchExpressions :
@@ -178,11 +177,13 @@ spec:
178
177
items :
179
178
type : string
180
179
type : array
180
+ x-kubernetes-list-type : atomic
181
181
required :
182
182
- key
183
183
- operator
184
184
type : object
185
185
type : array
186
+ x-kubernetes-list-type : atomic
186
187
matchLabels :
187
188
additionalProperties :
188
189
type : string
@@ -201,7 +202,8 @@ spec:
201
202
PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup.
202
203
These are executed after all "additional items" from item actions are processed.
203
204
items :
204
- description : BackupResourceHook defines a hook for a resource.
205
+ description : BackupResourceHook defines a hook for a
206
+ resource.
205
207
properties :
206
208
exec :
207
209
description : Exec defines an exec hook.
@@ -220,8 +222,8 @@ spec:
220
222
type : string
221
223
onError :
222
224
description : OnError specifies how Velero should
223
- behave if it encounters an error executing this
224
- hook.
225
+ behave if it encounters an error executing
226
+ this hook.
225
227
enum :
226
228
- Continue
227
229
- Fail
@@ -243,7 +245,8 @@ spec:
243
245
PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup.
244
246
These are executed before any "additional items" from item actions are processed.
245
247
items :
246
- description : BackupResourceHook defines a hook for a resource.
248
+ description : BackupResourceHook defines a hook for a
249
+ resource.
247
250
properties :
248
251
exec :
249
252
description : Exec defines an exec hook.
@@ -262,8 +265,8 @@ spec:
262
265
type : string
263
266
onError :
264
267
description : OnError specifies how Velero should
265
- behave if it encounters an error executing this
266
- hook.
268
+ behave if it encounters an error executing
269
+ this hook.
267
270
enum :
268
271
- Continue
269
272
- Fail
@@ -366,11 +369,13 @@ spec:
366
369
items :
367
370
type : string
368
371
type : array
372
+ x-kubernetes-list-type : atomic
369
373
required :
370
374
- key
371
375
- operator
372
376
type : object
373
377
type : array
378
+ x-kubernetes-list-type : atomic
374
379
matchLabels :
375
380
additionalProperties :
376
381
type : string
@@ -402,16 +407,16 @@ spec:
402
407
label selector matches no objects.
403
408
properties :
404
409
matchExpressions :
405
- description : matchExpressions is a list of label selector requirements.
406
- The requirements are ANDed.
410
+ description : matchExpressions is a list of label selector
411
+ requirements. The requirements are ANDed.
407
412
items :
408
413
description : |-
409
414
A label selector requirement is a selector that contains values, a key, and an operator that
410
415
relates the key and values.
411
416
properties :
412
417
key :
413
- description : key is the label key that the selector applies
414
- to.
418
+ description : key is the label key that the selector
419
+ applies to.
415
420
type : string
416
421
operator :
417
422
description : |-
@@ -427,11 +432,13 @@ spec:
427
432
items :
428
433
type : string
429
434
type : array
435
+ x-kubernetes-list-type : atomic
430
436
required :
431
437
- key
432
438
- operator
433
439
type : object
434
440
type : array
441
+ x-kubernetes-list-type : atomic
435
442
matchLabels :
436
443
additionalProperties :
437
444
type : string
@@ -487,16 +494,17 @@ spec:
487
494
nullable : true
488
495
type : boolean
489
496
storageLocation :
490
- description : StorageLocation is a string containing the name of a
491
- BackupStorageLocation where the backup should be stored.
497
+ description : StorageLocation is a string containing the name of
498
+ a BackupStorageLocation where the backup should be stored.
492
499
type : string
493
500
ttl :
494
501
description : |-
495
502
TTL is a time.Duration-parseable string describing how long
496
503
the Backup should be retained for.
497
504
type : string
498
505
uploaderConfig :
499
- description : UploaderConfig specifies the configuration for the uploader.
506
+ description : UploaderConfig specifies the configuration for the
507
+ uploader.
500
508
nullable : true
501
509
properties :
502
510
parallelFilesUpload :
@@ -505,8 +513,8 @@ spec:
505
513
type : integer
506
514
type : object
507
515
volumeSnapshotLocations :
508
- description : VolumeSnapshotLocations is a list containing names of
509
- VolumeSnapshotLocations associated with this backup.
516
+ description : VolumeSnapshotLocations is a list containing names
517
+ of VolumeSnapshotLocations associated with this backup.
510
518
items :
511
519
type : string
512
520
type : array
@@ -568,8 +576,8 @@ spec:
568
576
major, minor, and patch version.
569
577
type : string
570
578
hookStatus :
571
- description : HookStatus contains information about the status of the
572
- hooks.
579
+ description : HookStatus contains information about the status of
580
+ the hooks.
573
581
nullable : true
574
582
properties :
575
583
hooksAttempted :
@@ -579,8 +587,8 @@ spec:
579
587
and the number of hooks that executed successfully.
580
588
type : integer
581
589
hooksFailed :
582
- description : HooksFailed is the total number of hooks which ended
583
- with an error
590
+ description : HooksFailed is the total number of hooks which
591
+ ended with an error
584
592
type : integer
585
593
type : object
586
594
phase :
@@ -659,4 +667,4 @@ spec:
659
667
type : object
660
668
type : object
661
669
served : true
662
- storage : true
670
+ storage : true
0 commit comments