mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Mark BetaStorageClassAnnotation as deprecated
This commit is contained in:
parent
338ee7f5d5
commit
d1efdc40ee
@ -404,7 +404,7 @@ type PersistentVolumeClaimVolumeSource struct {
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// BetaStorageClassAnnotation represents the beta/previous StorageClass annotation.
|
// BetaStorageClassAnnotation represents the beta/previous StorageClass annotation.
|
||||||
// It's currently still used and will be held for backwards compatibility
|
// It's deprecated and will be removed in a future release. (#51440)
|
||||||
BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class"
|
BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class"
|
||||||
|
|
||||||
// MountOptionAnnotation defines mount option annotation used in PVs
|
// MountOptionAnnotation defines mount option annotation used in PVs
|
||||||
|
Loading…
Reference in New Issue
Block a user