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>

Kubernetes-commit: 3ba8e9e80ee3123d5936fdfb95095418008a8756
This commit is contained in:
Lan Liang 2024-05-16 08:36:27 +00:00 committed by Kubernetes Publisher
parent 274256ef2e
commit f2cf545be1

View File

@ -5661,6 +5661,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: ip
type:
scalar: string
default: ""
- name: io.k8s.api.core.v1.HostPathVolumeSource
map:
fields:
@ -6747,6 +6748,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: ip
type:
scalar: string
default: ""
- name: io.k8s.api.core.v1.PodOS
map:
fields: