Skip to content

Commit 092ddb4

Browse files
authored
Merge pull request #4409 from carlory/kep-3751
update latest-milestone to 1.30 and fix vac definition
2 parents 8807a04 + fc17e3a commit 092ddb4

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

Diff for: keps/sig-storage/3751-volume-attributes-class/README.md

+17-11
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,23 @@ type VolumeAttributesClass struct {
138138
// +optional
139139
metav1.ObjectMeta
140140
141-
// Spec defines the behavior of a VolumeAttributesClass.
142-
// +optional
143-
Spec VolumeAttributesClassSpec
144-
}
145-
146-
type VolumeAttributesClassSpec struct {
147-
// Name of the driver
141+
// Name of the CSI driver
142+
// This field is immutable.
148143
DriverName string
149-
// This field is OPTIONAL.This allows the CO to specify the
150-
// volume attributes class parameters to apply.
151-
// These parameters are immutable
144+
145+
// parameters hold volume attributes defined by the CSI driver. These values
146+
// are opaque to the Kubernetes and are passed directly to the CSI driver.
147+
// The underlying storage provider supports changing these attributes on an
148+
// existing volume, however the parameters field itself is immutable. To
149+
// invoke a volume update, a new VolumeAttributesClass should be created with
150+
// new parameters, and the PersistentVolumeClaim should be updated to reference
151+
// the new VolumeAttributesClass.
152+
//
153+
// This field is required and must contain at least one key/value pair.
154+
// The keys cannot be empty, and the maximum number of parameters is 512, with
155+
// a cumulative max size of 256K. If the CSI driver rejects invalid parameters,
156+
// the target PersistentVolumeClaim will be set to an "Infeasible" state in the
157+
// modifyVolumeStatus field.
152158
Parameters map[string]string
153159
}
154160
@@ -1276,4 +1282,4 @@ More details in Google doc [CSI Spec for ModifyVolume](https://docs.google.com/d
12761282

12771283
## Infrastructure Needed (Optional)
12781284

1279-
Not needed.
1285+
Not needed.

Diff for: keps/sig-storage/3751-volume-attributes-class/kep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ stage: alpha
2323
# The most recent milestone for which work toward delivery of this KEP has been
2424
# done. This can be the current (upcoming) milestone, if it is being actively
2525
# worked on.
26-
latest-milestone: "1.29"
26+
latest-milestone: "1.30"
2727

2828
# The milestone at which this feature was, or is targeted to be, at each stage.
2929
milestone:

0 commit comments

Comments
 (0)