diff --git a/charts/element-call/Chart.yaml b/charts/element-call/Chart.yaml index be57793..db98edf 100644 --- a/charts/element-call/Chart.yaml +++ b/charts/element-call/Chart.yaml @@ -6,7 +6,7 @@ type: application # This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: "0.1.8" +version: "0.2.0" # This version number should be incremented each time you make changes # to the application. diff --git a/charts/element-call/templates/config-template.yaml b/charts/element-call/templates/config-template.yaml index af1f229..d3e48de 100644 --- a/charts/element-call/templates/config-template.yaml +++ b/charts/element-call/templates/config-template.yaml @@ -4,22 +4,4 @@ metadata: name: {{ .Release.Name }}-configmap data: config.json: | - { - "default_server_config": { - "m.homeserver": { - "base_url": "{{ .Values.config.homeserver.base_url }}", - "server_name": "{{ .Values.config.homeserver.server_name }}" - } - }, - "livekit": { - "livekit_service_url": "{{ .Values.config.livekit.livekit_service_url }}" - }, - "posthog": { - "api_key": "{{ .Values.config.posthog.api_key }}", - "api_host": "{{ .Values.config.posthog.api_host }}" - }, - "rageshake": { - "submit_url": "{{ .Values.config.rageshake.submit_url }}" - }, - "eula": "{{ .Values.config.eula_url }}" - } + {{ toPrettyJson .Values.config | nindent 4 }} \ No newline at end of file diff --git a/charts/element-call/values.yaml b/charts/element-call/values.yaml index 066ffe0..354f801 100644 --- a/charts/element-call/values.yaml +++ b/charts/element-call/values.yaml @@ -82,9 +82,10 @@ tolerations: [] affinity: {} config: - homeserver: - base_url: http://localhost:8008 - server_name: localhost + default_server_config: + m.homeserver: + base_url: http://localhost:8008 + server_name: localhost livekit: livekit_service_url: https://localhost/ posthog: @@ -92,4 +93,5 @@ config: api_host: https://localhost rageshake: submit_url: - eula_url: + eula: + url: "" \ No newline at end of file