diff --git a/pkg/api/types.go b/pkg/api/types.go index 8f4cf5e3..45a66361 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -385,6 +385,9 @@ const ( // BetaStorageClassAnnotation represents the beta/previous StorageClass annotation. // It's currently still used and will be held for backwards compatibility BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class" + + // MountOptionAnnotation defines mount option annotation used in PVs + MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" ) // +genclient=true diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 461e27dc..0ce815b3 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -434,6 +434,9 @@ const ( // BetaStorageClassAnnotation represents the beta/previous StorageClass annotation. // It's currently still used and will be held for backwards compatibility BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class" + + // MountOptionAnnotation defines mount option annotation used in PVs + MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" ) // +genclient=true