generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened:
When you create a ClusterQueue belonging to a Cohort, the cohort's name is not displayed when running kubectl get cq.
What you expected to happen:
I'd expect the cohort's name to be displayed.
How to reproduce it (as minimally and precisely as possible):
- Create a
ClusterQueuewith.spec.cohortName. - Run
kubectl get cq.
Anything else we need to know?:
The name of .spec.cohort was changed to .spec.cohortName in v1beta2, but .spec.cohort is still referenced in genclient:
| // +kubebuilder:printcolumn:name="Cohort",JSONPath=".spec.cohort",type=string,description="Cohort that this ClusterQueue belongs to" |
Since v1beta2 started being used for storage in v0.16.0, it's likely not an issue in versions <0.16.0.
Environment:
- Kubernetes version (use
kubectl version): - Kueue version (use
git describe --tags --dirty --always): v0.16.0 - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Others:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.