Updates
This commit is contained in:
28
lowcoder/deploy/helm/templates/frontend/configMap.yaml
Normal file
28
lowcoder/deploy/helm/templates/frontend/configMap.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
{{- $nameSpace := include "lowcoder.namespace" . -}}
|
||||
{{- $name := include "lowcoder.fullname" . -}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "lowcoder.fullname" . }}-frontend
|
||||
labels:
|
||||
{{- include "lowcoder.labels" . | nindent 4 }}
|
||||
{{- with .Values.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
LOWCODER_PUID: {{ .Values.global.config.userId | default "9001" | quote }}
|
||||
LOWCODER_PGID: {{ .Values.global.config.groupId | default "9001" | quote }}
|
||||
{{- if .Values.global.config.apiServiceUrl }}
|
||||
LOWCODER_API_SERVICE_URL: {{ .Values.global.config.apiServiceUrl | trimSuffix "/" | quote }}
|
||||
{{- else }}
|
||||
LOWCODER_API_SERVICE_URL: "http://{{ $name }}-api-service:{{ .Values.apiService.service.port }}"
|
||||
{{- end }}
|
||||
{{- if .Values.global.config.nodeServiceUrl }}
|
||||
LOWCODER_NODE_SERVICE_URL: {{ .Values.global.config.nodeServiceUrl | trimSuffix "/" | quote }}
|
||||
{{- else }}
|
||||
LOWCODER_NODE_SERVICE_URL: "http://{{ $name }}-node-service:{{ .Values.nodeService.service.port }}"
|
||||
{{- end }}
|
||||
LOWCODER_MAX_REQUEST_SIZE: {{ .Values.global.config.maxRequestSize | default "20m" | quote }}
|
||||
LOWCODER_MAX_QUERY_TIMEOUT: {{ .Values.global.config.maxQueryTimeout | default "120" | quote }}
|
||||
|
||||
Reference in New Issue
Block a user