Remove old comments about IPv6 not being ready

This commit is contained in:
Tim Hockin 2022-12-23 11:06:44 -08:00
parent d2504c94a0
commit 57b9656e2b
No known key found for this signature in database
7 changed files with 10 additions and 17 deletions

View File

@ -5086,7 +5086,7 @@
"type": "string" "type": "string"
}, },
"ip": { "ip": {
"description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).",
"type": "string" "type": "string"
}, },
"nodeName": { "nodeName": {

View File

@ -1584,7 +1584,7 @@
}, },
"ip": { "ip": {
"default": "", "default": "",
"description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", "description": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).",
"type": "string" "type": "string"
}, },
"nodeName": { "nodeName": {

View File

@ -4207,9 +4207,8 @@ type EndpointSubset struct {
// EndpointAddress is a tuple that describes single IP address. // EndpointAddress is a tuple that describes single IP address.
type EndpointAddress struct { type EndpointAddress struct {
// The IP of this endpoint. // The IP of this endpoint.
// IPv6 is also accepted but not fully supported on all platforms. Also, certain // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
// kubernetes components, like kube-proxy, are not IPv6 ready. // or link-local multicast (224.0.0.0/24 or ff02::/16).
// TODO: This should allow hostname or IP, see #4447.
IP string IP string
// Optional: Hostname of this endpoint // Optional: Hostname of this endpoint
// Meant to be used by DNS servers etc. // Meant to be used by DNS servers etc.

View File

@ -17673,7 +17673,7 @@ func schema_k8sio_api_core_v1_EndpointAddress(ref common.ReferenceCallback) comm
Properties: map[string]spec.Schema{ Properties: map[string]spec.Schema{
"ip": { "ip": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", Description: "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).",
Default: "", Default: "",
Type: []string{"string"}, Type: []string{"string"},
Format: "", Format: "",

View File

@ -1048,11 +1048,8 @@ message EmptyDirVolumeSource {
// +structType=atomic // +structType=atomic
message EndpointAddress { message EndpointAddress {
// The IP of this endpoint. // The IP of this endpoint.
// May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
// or link-local multicast ((224.0.0.0/24). // or link-local multicast (224.0.0.0/24 or ff02::/16).
// IPv6 is also accepted but not fully supported on all platforms. Also, certain
// kubernetes components, like kube-proxy, are not IPv6 ready.
// TODO: This should allow hostname or IP, See #4447.
optional string ip = 1; optional string ip = 1;
// The Hostname of this endpoint // The Hostname of this endpoint

View File

@ -4959,11 +4959,8 @@ type EndpointSubset struct {
// +structType=atomic // +structType=atomic
type EndpointAddress struct { type EndpointAddress struct {
// The IP of this endpoint. // The IP of this endpoint.
// May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), // May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10),
// or link-local multicast ((224.0.0.0/24). // or link-local multicast (224.0.0.0/24 or ff02::/16).
// IPv6 is also accepted but not fully supported on all platforms. Also, certain
// kubernetes components, like kube-proxy, are not IPv6 ready.
// TODO: This should allow hostname or IP, See #4447.
IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"` IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"`
// The Hostname of this endpoint // The Hostname of this endpoint
// +optional // +optional

View File

@ -502,7 +502,7 @@ func (EmptyDirVolumeSource) SwaggerDoc() map[string]string {
var map_EndpointAddress = map[string]string{ var map_EndpointAddress = map[string]string{
"": "EndpointAddress is a tuple that describes single IP address.", "": "EndpointAddress is a tuple that describes single IP address.",
"ip": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", "ip": "The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).",
"hostname": "The Hostname of this endpoint", "hostname": "The Hostname of this endpoint",
"nodeName": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", "nodeName": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.",
"targetRef": "Reference to object providing the endpoint.", "targetRef": "Reference to object providing the endpoint.",