From 11594333d21180f98c786642bb58acc7fa9ce189 Mon Sep 17 00:00:00 2001 From: wackxu Date: Thu, 29 Mar 2018 09:33:15 +0800 Subject: [PATCH] remove AlphaStorageNodeAffinityAnnotation const --- pkg/apis/core/types.go | 4 ---- staging/src/k8s.io/api/core/v1/types.go | 4 ---- 2 files changed, 8 deletions(-) diff --git a/pkg/apis/core/types.go b/pkg/apis/core/types.go index 8b183deb7c4..56018ca632d 100644 --- a/pkg/apis/core/types.go +++ b/pkg/apis/core/types.go @@ -412,10 +412,6 @@ const ( // MountOptionAnnotation defines mount option annotation used in PVs MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" - - // AlphaStorageNodeAffinityAnnotation defines node affinity policies for a PersistentVolume. - // Value is a string of the json representation of type NodeAffinity - AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity" ) // +genclient diff --git a/staging/src/k8s.io/api/core/v1/types.go b/staging/src/k8s.io/api/core/v1/types.go index 08ef4194ea0..85b83de04b6 100644 --- a/staging/src/k8s.io/api/core/v1/types.go +++ b/staging/src/k8s.io/api/core/v1/types.go @@ -458,10 +458,6 @@ const ( // MountOptionAnnotation defines mount option annotation used in PVs MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" - - // AlphaStorageNodeAffinityAnnotation defines node affinity policies for a PersistentVolume. - // Value is a string of the json representation of type NodeAffinity - AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity" ) // +genclient