Skip to content

Commit

Permalink
fix(query): extra config before query.users (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored May 7, 2023
1 parent 01f4a59 commit ac609c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/databend-query/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.0
version: 0.6.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v1.1.14-nightly"
appVersion: "v1.1.26-nightly"

dependencies:
- name: minio
Expand Down
16 changes: 8 additions & 8 deletions charts/databend-query/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ data:
max_server_memory_usage = {{ .Values.config.query.maxServerMemoryUsage | default 0 }}
max_memory_limit_enabled = {{ .Values.config.query.maxMemoryLimitEnabled | default false }}
{{- range $field, $value := .Values.config.query.extra }}
{{- if (kindIs "string" $value) }}
{{ $field }} = {{ $value | quote }}
{{- else }}
{{ $field }} = {{ $value }}
{{- end }}
{{- end }}
{{- range .Values.config.query.users }}
[[query.users]]
name = {{ .name | quote }}
Expand All @@ -32,14 +40,6 @@ data:
{{- end }}
{{- end }}
{{- range $field, $value := .Values.config.query.extra }}
{{- if (kindIs "string" $value) }}
{{ $field }} = {{ $value | quote }}
{{- else }}
{{ $field }} = {{ $value }}
{{- end }}
{{- end }}
[log]
[log.file]
on = {{ .Values.config.log.file.enabled }}
Expand Down

0 comments on commit ac609c0

Please sign in to comment.