Skip to content

Commit

Permalink
feat(query): support custom pod envs (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Oct 19, 2023
1 parent dcedb74 commit 4f57672
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/databend-query/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ 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.8.0
version: 0.8.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
Expand Down
3 changes: 3 additions & 0 deletions charts/databend-query/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ spec:
value: 0.0.0.0
- name: QUERY_CLICKHOUSE_HTTP_HANDLER_PORT
value: {{ .Values.service.ports.ckhttp |default 8124 | quote }}
{{- with .Values.envs }}
{{- toYaml . | nindent 8 }}
{{- end }}
volumeMounts:
- name: config
# Note: subPath volume mount will not receive ConfigMap update.
Expand Down
4 changes: 4 additions & 0 deletions charts/databend-query/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ service:
# Annotations to add to the service
annotations: {}

envs: []
# - name: SENTRY_TRACES_SAMPLE_RATE
# value: "0.5"

serviceMonitor:
enabled: false
port: metric
Expand Down

0 comments on commit 4f57672

Please sign in to comment.