Skip to content

Commit

Permalink
Better message for RayCluster enableIngress field validation
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti authored and openshift-merge-bot[bot] committed Apr 18, 2024
1 parent 1518c68 commit 7c64408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/raycluster_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func validateIngress(rayCluster *rayv1.RayCluster) field.ErrorList {
allErrors = append(allErrors, field.Invalid(
field.NewPath("spec", "headGroupSpec", "enableIngress"),
rayCluster.Spec.HeadGroupSpec.EnableIngress,
"RayCluster resources with EnableIngress set to true or unspecified is not allowed"))
"RayCluster with enableIngress set to true is not allowed"))
}

return allErrors
Expand Down

0 comments on commit 7c64408

Please sign in to comment.