We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80de58e commit 26731daCopy full SHA for 26731da
src/codeflare_sdk/cluster/cluster.py
@@ -539,10 +539,10 @@ def _component_resources_up(
539
.get("headGroupSpec", {})
540
.get("enableIngress")
541
)
542
- if resource["kind"] == "RayCluster" and enable_ingress is not False:
+ if resource["kind"] == "RayCluster" and enable_ingress is True:
543
name = resource["metadata"]["name"]
544
print(
545
- f"Forbidden: RayCluster '{name}' has 'enableIngress' set to 'True' or is unset."
+ f"Forbidden: RayCluster '{name}' has 'enableIngress' set to 'True'."
546
547
return
548
_create_resources(yamls, namespace, api_instance)
0 commit comments