From d1efdc40ee316e1be5a6b086d90f95464d9cdfcc Mon Sep 17 00:00:00 2001 From: xiangpengzhao Date: Mon, 9 Oct 2017 14:22:17 +0800 Subject: [PATCH] Mark BetaStorageClassAnnotation as deprecated --- pkg/apis/core/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/core/types.go b/pkg/apis/core/types.go index 0bba0bca2dd..5d056266105 100644 --- a/pkg/apis/core/types.go +++ b/pkg/apis/core/types.go @@ -404,7 +404,7 @@ type PersistentVolumeClaimVolumeSource struct { const ( // 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" // MountOptionAnnotation defines mount option annotation used in PVs