From 81668cb8871dd70013a1ce4d94ab533862479be9 Mon Sep 17 00:00:00 2001 From: David Zhu Date: Wed, 12 Feb 2020 10:33:08 -0800 Subject: [PATCH] Change migrated-to annoation key to follow best practices by removing beta and using 'pv' prefix --- pkg/controller/volume/persistentvolume/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/volume/persistentvolume/util/util.go b/pkg/controller/volume/persistentvolume/util/util.go index 4fa046231f0..3f526ae09d9 100644 --- a/pkg/controller/volume/persistentvolume/util/util.go +++ b/pkg/controller/volume/persistentvolume/util/util.go @@ -69,7 +69,7 @@ const ( // through the CSIMigration feature flags. When this annotation is set the // Kubernetes components will "stand-down" and the external-provisioner will // act on the objects - AnnMigratedTo = "volume.beta.kubernetes.io/migrated-to" + AnnMigratedTo = "pv.kubernetes.io/migrated-to" // AnnStorageProvisioner annotation is added to a PVC that is supposed to be dynamically // provisioned. Its value is name of volume plugin that is supposed to provision