fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)

* fix(api): LocalObjectReference Name a "" default and make HostAlias.IP required

* chore(api): add LocalObjectReference comment

* chore(api): add omitempty to LocalObjectReference's Name

* chore(api): add kubebuilder:default annotation

* chore(api): ./hack/update-codegen.sh

Kubernetes-commit: 37e7cbdd3a6e9dd1044408b157226c53c76fdf71
This commit is contained in:
Patryk Małek 2024-05-04 00:21:14 +02:00 committed by Kubernetes Publisher
parent 2df4de16d4
commit 2daa31e071

View File

@ -4759,6 +4759,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -4772,6 +4773,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -4809,6 +4811,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -4827,6 +4830,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -5650,6 +5654,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: ip
type:
scalar: string
default: ""
- name: io.k8s.api.core.v1.HostIP
map:
fields:
@ -5879,6 +5884,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
elementRelationship: atomic
- name: io.k8s.api.core.v1.LocalVolumeSource
map:
@ -7617,6 +7623,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -7630,6 +7637,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean
@ -7646,6 +7654,7 @@ var schemaYAML = typed.YAMLObject(`types:
- name: name
type:
scalar: string
default: ""
- name: optional
type:
scalar: boolean