diff --git a/charts/databend-query/templates/configmap.yaml b/charts/databend-query/templates/configmap.yaml index 1b61a4a..4e8c18f 100644 --- a/charts/databend-query/templates/configmap.yaml +++ b/charts/databend-query/templates/configmap.yaml @@ -37,6 +37,14 @@ data: {{- end }} {{- end }} + [query.settings] + {{- range $field, $value := .Values.config.query.settings }} + {{- if (kindIs "string" $value) }} + {{ $field }} = {{ $value | quote }} + {{- else }} + {{ $field }} = {{ $value }} + {{- end }} + {{- end }} [log] [log.file] on = {{ .Values.config.log.file.enabled }} diff --git a/charts/databend-query/values.yaml b/charts/databend-query/values.yaml index 28d1461..ee2b5e5 100644 --- a/charts/databend-query/values.yaml +++ b/charts/databend-query/values.yaml @@ -72,6 +72,7 @@ config: extra: max_active_sessions: 256 + databend_enterprise_license: "" # NOTE: user `root` is already built-in, will be ignored if defined here users: [] @@ -80,6 +81,10 @@ config: # # sha1sum: echo -n "password" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum # authType: double_sha1_password # authString: 3081f32caef285c232d066033c89a78d88a6d8a5 # databend + + # NOTE: use it for on premise session parameters + settings: + timezone: "UTC" # [log] log: @@ -114,7 +119,7 @@ config: # [storage] storage: type: "s3" - + allow_insecure: false # [storage.s3] s3: bucket: "databend"