Skip to content

Commit ec78d65

Browse files
committed
fix: pass ROBUSTA_API_ENDPOINT to runner on self-hosted installs
The runner reads ROBUSTA_API_ENDPOINT to build URLs like RUNNER_GET_HOLMES_SLACKBOT_INFO and RUNNER_GET_INFO_URL. On self-hosted clusters this var was not injected, so the runner fell back to the public api.robusta.dev instead of the customer's api.<MY_DOMAIN>. Inject it from BackendProfile.robusta_cloud_api_host alongside the other self-host endpoint overrides in gen_config.
1 parent d11c630 commit ec78d65

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

robusta_cli/main.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ def gen_config(
274274
"name": "ROBUSTA_TELEMETRY_ENDPOINT",
275275
"value": backend_profile.robusta_telemetry_endpoint,
276276
},
277+
{
278+
"name": "ROBUSTA_API_ENDPOINT",
279+
"value": backend_profile.robusta_cloud_api_host,
280+
},
277281
]
278282

279283
if is_small_cluster:

0 commit comments

Comments
 (0)