From f2cf545be19ab3bf0d2fa6ed48cb01bda8f1b502 Mon Sep 17 00:00:00 2001 From: Lan Liang Date: Thu, 16 May 2024 08:36:27 +0000 Subject: [PATCH] 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 Kubernetes-commit: 3ba8e9e80ee3123d5936fdfb95095418008a8756 --- applyconfigurations/internal/internal.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index 47bfb44e0c..5cc22c9700 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -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: