make PodIP.IP and HostIP.IP required.
Fields used as map keys must be required or defaulted when used in a CRD schema. see https://github.com/kubernetes/kubernetes/issues/124540 Signed-off-by: Lan Liang <gcslyp@gmail.com>
This commit is contained in:
4
pkg/generated/openapi/zz_generated.openapi.go
generated
4
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -23024,11 +23024,13 @@ func schema_k8sio_api_core_v1_HostIP(ref common.ReferenceCallback) common.OpenAP
|
||||
"ip": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "IP is the IP address assigned to the host",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"ip"},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -26744,11 +26746,13 @@ func schema_k8sio_api_core_v1_PodIP(ref common.ReferenceCallback) common.OpenAPI
|
||||
"ip": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "IP is the IP address assigned to the pod",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"ip"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user