Skip to content

Commit

Permalink
add endppoint prefix to relay values
Browse files Browse the repository at this point in the history
  • Loading branch information
arikalon1 committed Jan 29, 2024
1 parent 40cdbb9 commit 2d674bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/robusta/cli/self_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -82,6 +83,7 @@ def __init__(
storePW: str,
db_endpoint_prefix: str,
platform_endpoint_prefix: str,
api_endpoint_prefix: str,
):
super().__init__(
domain=domain,
Expand All @@ -90,6 +92,7 @@ def __init__(
storeApiKey=anon_key,
provider=provider,
storePassword=storePW,
apiEndpointPrefix=api_endpoint_prefix,
)


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2d674bd

Please sign in to comment.