Commit 11594333 authored by wackxu's avatar wackxu

remove AlphaStorageNodeAffinityAnnotation const

parent 3076dc11
...@@ -412,10 +412,6 @@ const ( ...@@ -412,10 +412,6 @@ const (
// MountOptionAnnotation defines mount option annotation used in PVs // MountOptionAnnotation defines mount option annotation used in PVs
MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" 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 // +genclient
......
...@@ -458,10 +458,6 @@ const ( ...@@ -458,10 +458,6 @@ const (
// MountOptionAnnotation defines mount option annotation used in PVs // MountOptionAnnotation defines mount option annotation used in PVs
MountOptionAnnotation = "volume.beta.kubernetes.io/mount-options" 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 // +genclient
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment