Commit c9a46a08 authored by Klaus Ma's avatar Klaus Ma

Deprecated binding object in 1.7.

parent 1dc20565
...@@ -3135,7 +3135,8 @@ type NamespaceList struct { ...@@ -3135,7 +3135,8 @@ type NamespaceList struct {
Items []Namespace Items []Namespace
} }
// Binding ties one object to another - for example, a pod is bound to a node by a scheduler. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta metav1.TypeMeta
// ObjectMeta describes the object that is being bound. // ObjectMeta describes the object that is being bound.
......
...@@ -3593,8 +3593,8 @@ type NamespaceList struct { ...@@ -3593,8 +3593,8 @@ type NamespaceList struct {
Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"` Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"`
} }
// Binding ties one object to another. // Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
// For example, a pod is bound to a node by a scheduler. // Deprecated in 1.7, please use the bindings subresource of pods instead.
type Binding struct { type Binding struct {
metav1.TypeMeta `json:",inline"` metav1.TypeMeta `json:",inline"`
// Standard object's metadata. // Standard object's metadata.
......
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