Remove obsolete refs to gate EndpointSliceNodeName

This commit is contained in:
Tim Hockin 2022-07-07 13:19:59 -07:00
parent 65361245ed
commit c2ee067221
10 changed files with 11 additions and 16 deletions

View File

@ -10019,7 +10019,7 @@
"type": "string" "type": "string"
}, },
"nodeName": { "nodeName": {
"description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
"type": "string" "type": "string"
}, },
"targetRef": { "targetRef": {

View File

@ -78,7 +78,7 @@
"type": "string" "type": "string"
}, },
"nodeName": { "nodeName": {
"description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
"type": "string" "type": "string"
}, },
"targetRef": { "targetRef": {

View File

@ -93,8 +93,7 @@ type Endpoint struct {
// +optional // +optional
DeprecatedTopology map[string]string DeprecatedTopology map[string]string
// nodeName represents the name of the Node hosting this endpoint. This can // nodeName represents the name of the Node hosting this endpoint. This can
// be used to determine endpoints local to a Node. This field can be enabled // be used to determine endpoints local to a Node.
// with the EndpointSliceNodeName feature gate.
// +optional // +optional
NodeName *string NodeName *string
// zone is the name of the Zone this endpoint exists in. // zone is the name of the Zone this endpoint exists in.

View File

@ -26224,7 +26224,7 @@ func schema_k8sio_api_discovery_v1_Endpoint(ref common.ReferenceCallback) common
}, },
"nodeName": { "nodeName": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", Description: "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
Type: []string{"string"}, Type: []string{"string"},
Format: "", Format: "",
}, },
@ -26586,7 +26586,7 @@ func schema_k8sio_api_discovery_v1beta1_Endpoint(ref common.ReferenceCallback) c
}, },
"nodeName": { "nodeName": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", Description: "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
Type: []string{"string"}, Type: []string{"string"},
Format: "", Format: "",
}, },

View File

@ -66,8 +66,7 @@ message Endpoint {
map<string, string> deprecatedTopology = 5; map<string, string> deprecatedTopology = 5;
// nodeName represents the name of the Node hosting this endpoint. This can // nodeName represents the name of the Node hosting this endpoint. This can
// be used to determine endpoints local to a Node. This field can be enabled // be used to determine endpoints local to a Node.
// with the EndpointSliceNodeName feature gate.
// +optional // +optional
optional string nodeName = 6; optional string nodeName = 6;

View File

@ -101,8 +101,7 @@ type Endpoint struct {
DeprecatedTopology map[string]string `json:"deprecatedTopology,omitempty" protobuf:"bytes,5,opt,name=deprecatedTopology"` DeprecatedTopology map[string]string `json:"deprecatedTopology,omitempty" protobuf:"bytes,5,opt,name=deprecatedTopology"`
// nodeName represents the name of the Node hosting this endpoint. This can // nodeName represents the name of the Node hosting this endpoint. This can
// be used to determine endpoints local to a Node. This field can be enabled // be used to determine endpoints local to a Node.
// with the EndpointSliceNodeName feature gate.
// +optional // +optional
NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"`
// zone is the name of the Zone this endpoint exists in. // zone is the name of the Zone this endpoint exists in.

View File

@ -34,7 +34,7 @@ var map_Endpoint = map[string]string{
"hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", "hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.",
"targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.", "targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.",
"deprecatedTopology": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", "deprecatedTopology": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.",
"nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
"zone": "zone is the name of the Zone this endpoint exists in.", "zone": "zone is the name of the Zone this endpoint exists in.",
"hints": "hints contains information associated with how an endpoint should be consumed.", "hints": "hints contains information associated with how an endpoint should be consumed.",
} }

View File

@ -73,8 +73,7 @@ message Endpoint {
map<string, string> topology = 5; map<string, string> topology = 5;
// nodeName represents the name of the Node hosting this endpoint. This can // nodeName represents the name of the Node hosting this endpoint. This can
// be used to determine endpoints local to a Node. This field can be enabled // be used to determine endpoints local to a Node.
// with the EndpointSliceNodeName feature gate.
// +optional // +optional
optional string nodeName = 6; optional string nodeName = 6;

View File

@ -109,8 +109,7 @@ type Endpoint struct {
// +optional // +optional
Topology map[string]string `json:"topology,omitempty" protobuf:"bytes,5,opt,name=topology"` Topology map[string]string `json:"topology,omitempty" protobuf:"bytes,5,opt,name=topology"`
// nodeName represents the name of the Node hosting this endpoint. This can // nodeName represents the name of the Node hosting this endpoint. This can
// be used to determine endpoints local to a Node. This field can be enabled // be used to determine endpoints local to a Node.
// with the EndpointSliceNodeName feature gate.
// +optional // +optional
NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"`
// hints contains information associated with how an endpoint should be // hints contains information associated with how an endpoint should be

View File

@ -34,7 +34,7 @@ var map_Endpoint = map[string]string{
"hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", "hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.",
"targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.", "targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.",
"topology": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.\nThis field is deprecated and will be removed in future api versions.", "topology": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.\nThis field is deprecated and will be removed in future api versions.",
"nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.",
"hints": "hints contains information associated with how an endpoint should be consumed.", "hints": "hints contains information associated with how an endpoint should be consumed.",
} }