Skip to content

Commit

Permalink
fix: add missing properties on config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Nov 17, 2023
1 parent 3c0d9e2 commit 28245a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions k8s/lifemonitor-web/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ data:
{
"apiBaseUrl": "https://{{ .Values.externalServerName }}/api",
"appDomain": "{{ .Values.externalServerName }}",
"socketBaseUrl": "https://{{ .Values.externalServerName }}"{{ if .Values.backend.clientId }},{{ end }}
{{ if .Values.backend.clientId }}"clientId": "{{ .Values.backend.clientId }}"{{ end }}
"socketBaseUrl": "https://{{ .Values.externalServerName }}"
{{- if .Values.backend.clientId }}, "clientId": "{{ .Values.backend.clientId }}"{{ end }}
{{- if .Values.maintenanceMode.enabled }}, "maintenanceMode": "true"{{ end }}
{{- if .Values.maintenanceMode.message }}, "maintenanceMessage":"{{.Values.maintenanceMode.message}}"{{ end }}
}
1 change: 1 addition & 0 deletions k8s/lifemonitor-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ externalServerName: "localhost"
# Manage maintenance mode
maintenanceMode:
enabled: false
# message: "The service is currently under maintenance. Please try again later."

# Setting for the LifeMonitor Backend API
backend:
Expand Down
1 change: 1 addition & 0 deletions k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ externalServerName: 'localhost'
# Manage maintenance mode
maintenanceMode:
enabled: false
# message: "The service is currently under maintenance. Please try again later."

# Setting for the LifeMonitor Backend API
backend:
Expand Down

0 comments on commit 28245a1

Please sign in to comment.