Skip to content

Commit

Permalink
fix(query): use values for container ports (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Aug 23, 2023
1 parent 8a5c879 commit 452d34e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 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.7.2
version: 0.7.3

# 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.2.62-nightly"
appVersion: "v1.2.80-nightly"

dependencies:
- name: common
Expand Down
16 changes: 4 additions & 12 deletions charts/databend-query/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: metric
containerPort: 7070
- name: admin
containerPort: 8080
- name: flight
containerPort: 9090
- name: mysql
containerPort: 3307
- name: clickhouse
containerPort: 8124
- name: http
containerPort: 8000
{{- range $key, $val := .Values.service.ports }}
- name: {{ $key }}
containerPort: {{ $val}}
{{- end }}
livenessProbe:
httpGet:
path: /v1/health
Expand Down

0 comments on commit 452d34e

Please sign in to comment.