From 2d674bd3e8a94d82b7c58e550cf3b8c0cc022686 Mon Sep 17 00:00:00 2001 From: Arik Alon Date: Mon, 29 Jan 2024 21:33:41 +0200 Subject: [PATCH] add endppoint prefix to relay values --- src/robusta/cli/self_host.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/robusta/cli/self_host.py b/src/robusta/cli/self_host.py index 20dc8ebf5..1e1d82ee8 100644 --- a/src/robusta/cli/self_host.py +++ b/src/robusta/cli/self_host.py @@ -71,6 +71,7 @@ class RobustaRelay(BaseModel): slackSigningSecret: str = "your-signing-secret" syncActionAllowedOrigins: str provider: str + apiEndpointPrefix: str apiNodePort: int = 30313 # api.domain wsNodePort: int = 30314 # relay.domain @@ -82,6 +83,7 @@ def __init__( storePW: str, db_endpoint_prefix: str, platform_endpoint_prefix: str, + api_endpoint_prefix: str, ): super().__init__( domain=domain, @@ -90,6 +92,7 @@ def __init__( storeApiKey=anon_key, provider=provider, storePassword=storePW, + apiEndpointPrefix=api_endpoint_prefix, ) @@ -188,6 +191,7 @@ def gen_config( storePW=values.RELAY_PASSWORD, db_endpoint_prefix=db_endpoint_prefix, platform_endpoint_prefix=platform_endpoint_prefix, + api_endpoint_prefix=api_endpoint_prefix, ) relayValues.apiNodePort = api_nport relayValues.wsNodePort = ws_nport