1.30 tag also breaks PodIP.IP (which should be marked required) #124900
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
We have a CRD that contains PodStatus. After generating CRD with k8s v1.30.1, applying it failed with the message:
Similar issue reported in #124540 but different struct field.
What did you expect to happen?
CRD is applied successfully.
How can we reproduce it (as minimally and precisely as possible)?
Create CRD that has PodStatus and then apply it.
Anything else we need to know?
This is a leftover of #124553
PodIP.IP should also be marked required because it is +listMapKey=ip in PodStatus.PodIPs.
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: