mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 09:34:40 +00:00
fix stray +optional comment on persistentVolumeClaimRetentionPolicy
This commit is contained in:
parent
62ced20cdc
commit
4ddf0cca1c
@ -255,7 +255,8 @@ type StatefulSetSpec struct {
|
|||||||
// policy allows the lifecycle to be altered, for example by deleting persistent
|
// policy allows the lifecycle to be altered, for example by deleting persistent
|
||||||
// volume claims when their stateful set is deleted, or when their pod is scaled
|
// volume claims when their stateful set is deleted, or when their pod is scaled
|
||||||
// down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled,
|
// down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled,
|
||||||
// which is alpha. +optional
|
// which is alpha.
|
||||||
|
// +optional
|
||||||
PersistentVolumeClaimRetentionPolicy *StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty" protobuf:"bytes,10,opt,name=persistentVolumeClaimRetentionPolicy"`
|
PersistentVolumeClaimRetentionPolicy *StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty" protobuf:"bytes,10,opt,name=persistentVolumeClaimRetentionPolicy"`
|
||||||
|
|
||||||
// ordinals controls the numbering of replica indices in a StatefulSet. The
|
// ordinals controls the numbering of replica indices in a StatefulSet. The
|
||||||
|
Loading…
Reference in New Issue
Block a user