diff --git a/charts/greptimedb-cluster/Chart.yaml b/charts/greptimedb-cluster/Chart.yaml index 0ecdf26..3318db2 100644 --- a/charts/greptimedb-cluster/Chart.yaml +++ b/charts/greptimedb-cluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: greptimedb-cluster description: A Helm chart for deploying GreptimeDB cluster in Kubernetes type: application -version: 0.1.24 +version: 0.1.25 appVersion: 0.7.2 home: https://github.com/GreptimeTeam/greptimedb sources: diff --git a/charts/greptimedb-cluster/README.md b/charts/greptimedb-cluster/README.md index 2539c3b..a490a89 100644 --- a/charts/greptimedb-cluster/README.md +++ b/charts/greptimedb-cluster/README.md @@ -2,7 +2,7 @@ A Helm chart for deploying GreptimeDB cluster in Kubernetes -![Version: 0.1.24](https://img.shields.io/badge/Version-0.1.24-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.2](https://img.shields.io/badge/AppVersion-0.7.2-informational?style=flat-square) +![Version: 0.1.25](https://img.shields.io/badge/Version-0.1.25-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.2](https://img.shields.io/badge/AppVersion-0.7.2-informational?style=flat-square) ## Source Code @@ -102,9 +102,9 @@ helm uninstall mycluster -n default | datanode.storage.storageRetainPolicy | string | `"Retain"` | Storage retain policy for datanode persistent volume | | datanode.storage.storageSize | string | `"10Gi"` | Storage size for datanode persistent volume | | datanode.storage.walDir | string | `"/data/greptimedb/wal"` | The wal directory of the storage, default is "/data/greptimedb/wal" | -| frontend | object | `{"config":"","podTemplate":{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccountName":"","tolerations":[],"volumes":[]},"replicas":1,"service":{},"tls":{}}` | Frontend configure | +| frontend | object | `{"config":"","podTemplate":{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccount":{"annotations":{},"create":false},"tolerations":[],"volumes":[]},"replicas":1,"service":{},"tls":{}}` | Frontend configure | | frontend.config | string | `""` | Extra frontend config in toml format. | -| frontend.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccountName":"","tolerations":[],"volumes":[]}` | The pod template for frontend | +| frontend.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccount":{"annotations":{},"create":false},"tolerations":[],"volumes":[]}` | The pod template for frontend | | frontend.podTemplate.affinity | object | `{}` | The pod affinity | | frontend.podTemplate.annotations | object | `{}` | The annotations to be created to the pod. | | frontend.podTemplate.labels | object | `{}` | The labels to be created to the pod. | @@ -117,7 +117,8 @@ helm uninstall mycluster -n default | frontend.podTemplate.main.resources.requests | object | `{}` | The requested resources for the container | | frontend.podTemplate.main.volumeMounts | list | `[]` | The pod volumeMounts | | frontend.podTemplate.nodeSelector | object | `{}` | The pod node selector | -| frontend.podTemplate.serviceAccountName | string | `""` | The service account for frontend | +| frontend.podTemplate.serviceAccount.annotations | object | `{}` | The annotations for frontend serviceaccount | +| frontend.podTemplate.serviceAccount.create | bool | `false` | Create a service account | | frontend.podTemplate.tolerations | list | `[]` | The pod tolerations | | frontend.podTemplate.volumes | list | `[]` | The pod volumes | | frontend.replicas | int | `1` | Frontend replicas | @@ -132,10 +133,10 @@ helm uninstall mycluster -n default | initializer.registry | string | `"docker.io"` | Initializer image registry | | initializer.repository | string | `"greptime/greptimedb-initializer"` | Initializer image repository | | initializer.tag | string | `"0.1.0-alpha.23"` | Initializer image tag | -| meta | object | `{"config":"","etcdEndpoints":"etcd.default.svc.cluster.local:2379","podTemplate":{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccountName":"","tolerations":[],"volumes":[]},"replicas":1,"storeKeyPrefix":""}` | Meta configure | +| meta | object | `{"config":"","etcdEndpoints":"etcd.default.svc.cluster.local:2379","podTemplate":{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccount":{"annotations":{},"create":false},"tolerations":[],"volumes":[]},"replicas":1,"storeKeyPrefix":""}` | Meta configure | | meta.config | string | `""` | Extra Meta config in toml format. | | meta.etcdEndpoints | string | `"etcd.default.svc.cluster.local:2379"` | Meta etcd endpoints | -| meta.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccountName":"","tolerations":[],"volumes":[]}` | The pod template for meta | +| meta.podTemplate | object | `{"affinity":{},"annotations":{},"labels":{},"main":{"args":[],"command":[],"env":[],"image":"","resources":{"limits":{},"requests":{}},"volumeMounts":[]},"nodeSelector":{},"serviceAccount":{"annotations":{},"create":false},"tolerations":[],"volumes":[]}` | The pod template for meta | | meta.podTemplate.affinity | object | `{}` | The pod affinity | | meta.podTemplate.annotations | object | `{}` | The annotations to be created to the pod. | | meta.podTemplate.labels | object | `{}` | The labels to be created to the pod. | @@ -148,7 +149,8 @@ helm uninstall mycluster -n default | meta.podTemplate.main.resources.requests | object | `{}` | The requested resources for the container | | meta.podTemplate.main.volumeMounts | list | `[]` | The pod volumeMounts | | meta.podTemplate.nodeSelector | object | `{}` | The pod node selector | -| meta.podTemplate.serviceAccountName | string | `""` | The service account for meta | +| meta.podTemplate.serviceAccount.annotations | object | `{}` | The annotations for meta serviceaccount | +| meta.podTemplate.serviceAccount.create | bool | `false` | Create a service account | | meta.podTemplate.tolerations | list | `[]` | The pod tolerations | | meta.podTemplate.volumes | list | `[]` | The pod volumes | | meta.replicas | int | `1` | Meta replicas | diff --git a/charts/greptimedb-cluster/values.yaml b/charts/greptimedb-cluster/values.yaml index 46fd89b..897a5c3 100644 --- a/charts/greptimedb-cluster/values.yaml +++ b/charts/greptimedb-cluster/values.yaml @@ -102,11 +102,15 @@ frontend: tolerations: [] # -- The pod affinity affinity: {} - # -- The service account for frontend - serviceAccountName: "" # -- The pod volumes volumes: [] + serviceAccount: + # -- Create a service account + create: false + # -- The annotations for frontend serviceaccount + annotations: {} + # -- Frontend service service: {} @@ -162,11 +166,15 @@ meta: tolerations: [] # -- The pod affinity affinity: {} - # -- The service account for meta - serviceAccountName: "" # -- The pod volumes volumes: [] + serviceAccount: + # -- Create a service account + create: false + # -- The annotations for meta serviceaccount + annotations: {} + # -- Meta etcd endpoints etcdEndpoints: "etcd.default.svc.cluster.local:2379"