Add MountOptions field to PV spec

This commit is contained in:
Matthew Wong
2017-08-23 13:36:07 -04:00
parent b8fde17fc2
commit 0855f6a089
3 changed files with 14 additions and 0 deletions

View File

@@ -455,6 +455,10 @@ type PersistentVolumeSpec struct {
// means that this volume does not belong to any StorageClass.
// +optional
StorageClassName string
// A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will
// simply fail if one is invalid.
// +optional
MountOptions []string
}
// PersistentVolumeReclaimPolicy describes a policy for end-of-life maintenance of persistent volumes