mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-16 16:21:11 +00:00
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:
parent
2df4de16d4
commit
2daa31e071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user