You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When defining a cohort that has no parent cohort and has borrowingLimit the following error message is shown:
admission webhook "vcohort.kb.io" denied the request: spec.resourceGroups[0].flavors[0].resources[0].borrowingLimit: Invalid value: "0": must be nil when cohort is empty
The message is misleading because clusterQueue object has cohort field for its parent cohort while cohort object has parent field for it's parent cohort. And the error message is same for both cases. What you expected to happen:
The message could end with must be nil when parent is empty ormust be nil when parent cohort is empty. How to reproduce it (as minimally and precisely as possible):
Applying the following YAML file:
What happened:
When defining a cohort that has no parent cohort and has
borrowingLimit
the following error message is shown:The message is misleading because clusterQueue object has
cohort
field for its parent cohort while cohort object hasparent
field for it's parent cohort. And the error message is same for both cases.What you expected to happen:
The message could end with
must be nil when parent is empty
ormust be nil when parent cohort is empty
.How to reproduce it (as minimally and precisely as possible):
Applying the following YAML file:
Anything else we need to know?:
Environment:
kubectl version
): v1.31.5git describe --tags --dirty --always
): v0.11.0-devel-244-gfd6a5206cat /etc/os-release
): Debian GNU/Linuxuname -a
):The text was updated successfully, but these errors were encountered: