Change migrated-to annoation key to follow best practices by removing beta and using 'pv' prefix

This commit is contained in:
David Zhu 2020-02-12 10:33:08 -08:00
parent 574acbe310
commit 81668cb887

View File

@ -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