From 18d4a6b80519c7e10cf7e47d55373bee168abcbb Mon Sep 17 00:00:00 2001 From: shileifu <1025174411@qq.com> Date: Thu, 2 Mar 2023 18:10:40 +0800 Subject: [PATCH] 1.3.3 --- charts/kube-starrocks/Chart.yaml | 2 +- .../templates/starrocks/starrockscluster.yaml | 2 ++ charts/kube-starrocks/values.yaml | 9 ++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/charts/kube-starrocks/Chart.yaml b/charts/kube-starrocks/Chart.yaml index 9a35291..cc318ff 100644 --- a/charts/kube-starrocks/Chart.yaml +++ b/charts/kube-starrocks/Chart.yaml @@ -23,7 +23,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.2 +version: 1.3.3 # This is the version number of tlhe application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/kube-starrocks/templates/starrocks/starrockscluster.yaml b/charts/kube-starrocks/templates/starrocks/starrockscluster.yaml index ab9eece..f7eec98 100644 --- a/charts/kube-starrocks/templates/starrocks/starrockscluster.yaml +++ b/charts/kube-starrocks/templates/starrocks/starrockscluster.yaml @@ -43,6 +43,7 @@ spec: {{- if .Values.starrocksFESpec.storageSpec.name }} storageVolumes: - name: {{ .Values.starrocksFESpec.storageSpec.name }} + storageClassName: {{ .Values.starrocksFESpec.storageSpec.storageClassName }}} storageSize: {{ .Values.starrocksFESpec.storageSpec.storageSize }} mountPath: {{template "starrockscluster.fe.meta.path" . }} {{- end }} @@ -80,6 +81,7 @@ spec: {{- if .Values.starrocksBeSpec.storageSpec.name }} storageVolumes: - name: {{ .Values.starrocksBeSpec.storageSpec.name }} + storageClassName: {{ .Values.starrocksBeSpec.storageSpec.storageClassName }} storageSize: {{ .Values.starrocksBeSpec.storageSpec.storageSize }} mountPath: {{template "starrockscluster.be.data.path" . }} {{- end }} diff --git a/charts/kube-starrocks/values.yaml b/charts/kube-starrocks/values.yaml index 240b3a8..2617bd5 100644 --- a/charts/kube-starrocks/values.yaml +++ b/charts/kube-starrocks/values.yaml @@ -109,8 +109,10 @@ starrocksFESpec: # fe storageSpec for persistent meta data. storageSpec: - # the storageClass name for fe meta persistent volume. if name is empty used emptyDir. + # the name of volume for mount. if not will use emptyDir. name: "" + # the storageClassName represent the used storageclss name. if not set will use k8s cluster default storageclass. + storageClassName: "" #the persistent volume size default 1 Gi. storageSize: 1Gi @@ -292,9 +294,10 @@ starrocksBeSpec: memory: 8Gi ## specify storageclass name and request size. storageSpec: - # the storageClass name for be data persistent volume. if name is empty used emptyDir. + # the name of volume for mount. if not will use emptyDir. name: "" - storageSize: 10Gi + # the storageClassName represent the used storageclss name. if not set will use k8s cluster default storageclass. + storageClassName: "" # the config for start be. the base information as follows. config: |