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:
Lan Liang
2024-05-16 08:36:27 +00:00
committed by Tim Hockin
parent bae59799e9
commit 73613b48c6
6 changed files with 26 additions and 2 deletions

View File

@@ -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": {