-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api): make LocalObjectReference.Name and HostAlias.IP required #124553
fix(api): make LocalObjectReference.Name and HostAlias.IP required #124553
Conversation
Skipping CI for Draft Pull Request. |
I am sure there are more - I added a bunch of these key declarations. Let's see what CI says |
/retest |
We may also want to do |
You'll have to run hack/update-codegen.sh |
Done. /retest |
Sorry, you also have to run hack/update-openapi-spec.sh (or just run |
Done. /retest |
@thockin Looks like all jobs passed now. |
38d5336
to
e523b70
Compare
Code LGTM. Need to run /approve |
LGTM label has been added. Git tree hash: 743a3005f61379372a5ed15a377dbe6bf982aa0c
|
I was pretty sure I ran it this time 😬 5777fd4 |
Thanks! /lgtm |
LGTM label has been added. Git tree hash: 62c576fc704bd166ca56056829fcd46e0723976a
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pmalek, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Will you be sending the backport PR, too? |
…ubernetes#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
…ubernetes#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
[backport release-1.30]: fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
/triage accepted |
PodIP.IP should also be marked required. |
What type of PR is this?
/kind bug
/kind api-change
What this PR does / why we need it:
Fixes CRD generation for types that contain
LocalObjectReference
Also while at it this makes
HostAlias.IP
requiredWhich issue(s) this PR fixes:
Fixes #124540
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: