Skip to content

Commit

Permalink
refactor: db chart prometheus monitor configuration (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 authored May 18, 2023
1 parent 8d23900 commit 1d47ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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.7
version: 0.1.1-alpha.8
appVersion: 0.3.0-20230515-nightly
4 changes: 3 additions & 1 deletion charts/greptimedb/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ spec:
storageClassName: {{ .Values.datanode.storage.storageClassName }}
storageSize: {{ .Values.datanode.storage.storageSize }}
storageRetainPolicy: {{ .Values.datanode.storage.storageRetainPolicy }}
enablePrometheusMonitor: {{ .Values.enablePrometheusMonitor }}
{{- if (and .Values.prometheusMonitor .Values.prometheusMonitor.enabled )}}
prometheusMonitor: {{- toYaml .Values.prometheusMonitor | nindent 4 }}
{{- end }}
httpServicePort: {{ .Values.httpServicePort }}
grpcServicePort: {{ .Values.grpcServicePort }}
mysqlServicePort: {{ .Values.mysqlServicePort }}
Expand Down

0 comments on commit 1d47ca7

Please sign in to comment.