mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 22:53:49 +08:00
[k8s] Replace k8s service name everywhere in ingress manifest (#10445)
Co-authored-by: Pieterjan <pieterjan.soetaert@robovision.eu>
This commit is contained in:
@@ -177,4 +177,7 @@ def _add_service_name_to_service_port(spec, svc_name):
|
||||
_add_service_name_to_service_port(item, svc_name) for item in spec
|
||||
]
|
||||
|
||||
elif isinstance(spec, str):
|
||||
if "${RAY_POD_NAME}" in spec:
|
||||
spec.replace("${RAY_POD_NAME}", svc_name)
|
||||
return spec
|
||||
|
||||
Reference in New Issue
Block a user