Skip to content

Commit

Permalink
feat: add 'service' field in greptimedb and update appVersion (#32)
Browse files Browse the repository at this point in the history

Signed-off-by: zyy17 <[email protected]>
  • Loading branch information
zyy17 authored Dec 6, 2022
1 parent a202944 commit d1d6687
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/greptimedb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: greptimedb
description: A Helm chart for deploying GreptimeDB cluster in Kubernetes
type: application
version: 0.1.1-alpha.1
appVersion: 0.1.0-alpha-20221128-weekly
version: 0.1.1-alpha.2
appVersion: 0.1.0-alpha-20221205-weekly
8 changes: 6 additions & 2 deletions charts/greptimedb/templates/greptimedb/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ spec:
base:
main:
image: '{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}'
resources:
{{ toYaml .Values.resources | indent 8 }}
{{- if .Values.resources }}
resources: {{- toYaml .Values.resources | nindent 8 }}
{{- end }}
frontend:
replicas: {{ .Values.frontend.replicas }}
{{- if .Values.frontend.service }}
service: {{- toYaml .Values.frontend.service | nindent 6 }}
{{- end }}
meta:
replicas: {{ .Values.meta.replicas }}
{{- if .Values.etcdEndpoints }}
Expand Down
5 changes: 3 additions & 2 deletions charts/greptimedb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image:
# The image repository
repository: greptime/greptimedb
# The image tag
tag: 0.1.0-alpha-20221128-weekly
tag: 0.1.0-alpha-20221205-weekly

resources:
requests:
Expand All @@ -15,6 +15,7 @@ resources:

frontend:
replicas: 1
service: {}

meta:
replicas: 1
Expand All @@ -28,7 +29,7 @@ datanode:

initializer:
repository: greptime/greptimedb-initializer
tag: latest
tag: 0.1.0-alpha.8

etcdEndpoints: ""

Expand Down

0 comments on commit d1d6687

Please sign in to comment.