We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e87599 commit a9bcce0Copy full SHA for a9bcce0
src/codeflare_sdk/cluster/cluster.py
@@ -560,10 +560,10 @@ def _component_resources_up(
560
.get("headGroupSpec", {})
561
.get("enableIngress")
562
)
563
- if resource["kind"] == "RayCluster" and enable_ingress is not False:
+ if resource["kind"] == "RayCluster" and enable_ingress is True:
564
name = resource["metadata"]["name"]
565
print(
566
- f"Forbidden: RayCluster '{name}' has 'enableIngress' set to 'True' or is unset."
+ f"Forbidden: RayCluster '{name}' has 'enableIngress' set to 'True'."
567
568
return
569
_create_resources(yamls, namespace, api_instance)
0 commit comments