@@ -192,6 +192,7 @@ spec:
192
192
items :
193
193
type : string
194
194
type : array
195
+ x-kubernetes-list-type : atomic
195
196
dataSource :
196
197
description : |-
197
198
dataSource field can be used to specify either:
@@ -276,34 +277,6 @@ spec:
276
277
status field of the claim.
277
278
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
278
279
properties :
279
- claims :
280
- description : |-
281
- Claims lists the names of resources, defined in spec.resourceClaims,
282
- that are used by this container.
283
-
284
-
285
- This is an alpha field and requires enabling the
286
- DynamicResourceAllocation feature gate.
287
-
288
-
289
- This field is immutable. It can only be set for containers.
290
- items :
291
- description : ResourceClaim references one entry
292
- in PodSpec.ResourceClaims.
293
- properties :
294
- name :
295
- description : |-
296
- Name must match the name of one entry in pod.spec.resourceClaims of
297
- the Pod where this field is used. It makes that resource available
298
- inside a container.
299
- type : string
300
- required :
301
- - name
302
- type : object
303
- type : array
304
- x-kubernetes-list-map-keys :
305
- - name
306
- x-kubernetes-list-type : map
307
280
limits :
308
281
additionalProperties :
309
282
anyOf :
@@ -359,11 +332,13 @@ spec:
359
332
items :
360
333
type : string
361
334
type : array
335
+ x-kubernetes-list-type : atomic
362
336
required :
363
337
- key
364
338
- operator
365
339
type : object
366
340
type : array
341
+ x-kubernetes-list-type : atomic
367
342
matchLabels :
368
343
additionalProperties :
369
344
type : string
@@ -379,6 +354,21 @@ spec:
379
354
storageClassName is the name of the StorageClass required by the claim.
380
355
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
381
356
type : string
357
+ volumeAttributesClassName :
358
+ description : |-
359
+ volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.
360
+ If specified, the CSI driver will create or update the volume with the attributes defined
361
+ in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName,
362
+ it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass
363
+ will be applied to the claim but it's not allowed to reset this field to empty string once it is set.
364
+ If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass
365
+ will be set by the persistentvolume controller if it exists.
366
+ If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
367
+ set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
368
+ exists.
369
+ More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
370
+ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
371
+ type : string
382
372
volumeMode :
383
373
description : |-
384
374
volumeMode defines what type of volume is required by the claim.
0 commit comments