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