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:
6
api/openapi-spec/swagger.json
generated
6
api/openapi-spec/swagger.json
generated
@@ -7482,6 +7482,9 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ip"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.HostPathVolumeSource": {
|
||||
@@ -9293,6 +9296,9 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ip"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.PodList": {
|
||||
|
@@ -2814,10 +2814,14 @@
|
||||
"description": "HostIP represents a single IP address allocated to the host.",
|
||||
"properties": {
|
||||
"ip": {
|
||||
"default": "",
|
||||
"description": "IP is the IP address assigned to the host",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ip"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.HostPathVolumeSource": {
|
||||
@@ -5165,10 +5169,14 @@
|
||||
"description": "PodIP represents a single IP address allocated to the pod.",
|
||||
"properties": {
|
||||
"ip": {
|
||||
"default": "",
|
||||
"description": "IP is the IP address assigned to the pod",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ip"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.PodList": {
|
||||
|
Reference in New Issue
Block a user