Skip to content

Commit

Permalink
Handle configured client/server domains
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 2, 2023
1 parent c7153c6 commit 2a24cd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neon_diana_utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ def configure_klat_chat(external_url: str = None,
with open(join(output_path, "klat-chat", "values.yaml"), 'r') as f:
helm_values = yaml.safe_load(f)
helm_values['klat']['domain'] = domain
helm_values['klat']['clientSubdomain'] = subdomain
helm_values['klat']['serverSubdomain'] = api_subdomain
helm_values['klat']['images']['tag'] = 'dev' # TODO: Get user config
helm_values['klat']['ingress']['rules'] = [
{'host': subdomain, 'serviceName': 'klat-chat-client',
Expand Down

0 comments on commit 2a24cd5

Please sign in to comment.