File tree Expand file tree Collapse file tree 5 files changed +29
-3
lines changed
charts/greptimedb-cluster Expand file tree Collapse file tree 5 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : greptimedb-cluster
3
3
description : A Helm chart for deploying GreptimeDB cluster in Kubernetes.
4
4
type : application
5
- version : 0.2.8
5
+ version : 0.2.9
6
6
appVersion : 0.9.2
7
7
home : https://github.com/GreptimeTeam/greptimedb
8
8
sources :
Original file line number Diff line number Diff line change 2
2
3
3
A Helm chart for deploying GreptimeDB cluster in Kubernetes.
4
4
5
- ![ Version: 0.2.8 ] ( https://img.shields.io/badge/Version-0.2.8 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.9.2] ( https://img.shields.io/badge/AppVersion-0.9.2-informational?style=flat-square )
5
+ ![ Version: 0.2.9 ] ( https://img.shields.io/badge/Version-0.2.9 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.9.2] ( https://img.shields.io/badge/AppVersion-0.9.2-informational?style=flat-square )
6
6
7
7
## Source Code
8
8
@@ -201,7 +201,7 @@ helm uninstall mycluster -n default
201
201
| meta.replicas | int | ` 1 ` | Meta replicas |
202
202
| meta.storeKeyPrefix | string | ` "" ` | Meta will store data with this key prefix |
203
203
| mysqlServicePort | int | ` 4002 ` | GreptimeDB mysql service port |
204
- | objectStorage | object | ` {"oss":{},"s3":{}} ` | Configure to object storage |
204
+ | objectStorage | object | ` {"gcs":{}," oss":{},"s3":{}} ` | Configure to object storage |
205
205
| postgresServicePort | int | ` 4003 ` | GreptimeDB postgres service port |
206
206
| prometheusMonitor | object | ` {"enabled":false,"interval":"30s","labels":{"release":"prometheus"}} ` | Configure to prometheus PodMonitor |
207
207
| prometheusMonitor.enabled | bool | ` false ` | Create PodMonitor resource for scraping metrics using PrometheusOperator |
Original file line number Diff line number Diff line change @@ -341,6 +341,17 @@ spec:
341
341
{{- end }}
342
342
{{- end }}
343
343
{{- end }}
344
+ {{- else if .Values.objectStorage.gcs }}
345
+ gcs : {{- toYaml .Values.objectStorage.gcs | nindent 6 }}
346
+ {{- if .Values.objectStorage }}
347
+ {{- if .Values.objectStorage.credentials }}
348
+ {{- if .Values.objectStorage.credentials.existingSecretName }}
349
+ secretName : {{ .Values.objectStorage.credentials.existingSecretName }}
350
+ {{- else }}
351
+ secretName : {{ default "storage-credentials" .Values.objectStorage.credentials.secretName }}
352
+ {{- end }}
353
+ {{- end }}
354
+ {{- end }}
344
355
{{- else }}
345
356
{}
346
357
{{- end }}
Original file line number Diff line number Diff line change @@ -7,9 +7,14 @@ metadata:
7
7
namespace : {{ .Release.Namespace }}
8
8
kind : Secret
9
9
type : Opaque
10
+ {{- if .Values.objectStorage.credentials.serviceAccountKey }}
11
+ data :
12
+ service-account-key : {{ .Values.objectStorage.credentials.serviceAccountKey }}
13
+ {{- else }}
10
14
stringData :
11
15
access-key-id : {{ .Values.objectStorage.credentials.accessKeyId }}
12
16
secret-access-key : {{ .Values.objectStorage.credentials.secretAccessKey }}
13
17
{{- end }}
14
18
{{- end }}
15
19
{{- end }}
20
+ {{- end }}
Original file line number Diff line number Diff line change @@ -414,6 +414,7 @@ objectStorage:
414
414
# credentials:
415
415
# accessKeyId: "you-should-set-the-access-key-id-here"
416
416
# secretAccessKey: "you-should-set-the-secret-access-key-here"
417
+ # serviceAccountKey: "you-should-set-the-base64-service-account-key-here"
417
418
# secretName: ""
418
419
# existingSecretName: ""
419
420
@@ -435,6 +436,15 @@ objectStorage:
435
436
# root: "mycluster"
436
437
# endpoint: "oss-cn-hangzhou.aliyuncs.com"
437
438
439
+ # configure to use gcs storage
440
+ gcs : {}
441
+ # bucket: "bucket-name"
442
+ # Scope: "" # example: "https://www.googleapis.com/auth/devstorage.read_write"
443
+
444
+ # # The data directory in gcs will be: 'gcs://<bucket>/<root>/data/...'.
445
+ # root: "mycluster"
446
+ # endpoint: "https://storage.googleapis.com"
447
+
438
448
# -- Configure to remote wal
439
449
remoteWal :
440
450
# -- Enable remote wal
You can’t perform that action at this time.
0 commit comments