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: 73613b48c6472c71eb6cb6ff12a0d5acb1beadcc
This commit is contained in:
Lan Liang 2024-05-16 08:36:27 +00:00 committed by Kubernetes Publisher
parent 53b8be7cea
commit fa8c68e986

View File

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