From 345c9fea045d63578b202970e61641824ee6d413 Mon Sep 17 00:00:00 2001 From: zyy17 Date: Thu, 28 Mar 2024 18:46:49 +0800 Subject: [PATCH] fix: the incorrect indent for podtemplate field (#121) --- charts/greptimedb-cluster/Chart.yaml | 2 +- charts/greptimedb-cluster/README.md | 2 +- .../greptimedb-cluster/templates/cluster.yaml | 36 +++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/charts/greptimedb-cluster/Chart.yaml b/charts/greptimedb-cluster/Chart.yaml index 3325181..0e9435e 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.22 +version: 0.1.23 appVersion: 0.7.1 home: https://github.com/GreptimeTeam/greptimedb sources: diff --git a/charts/greptimedb-cluster/README.md b/charts/greptimedb-cluster/README.md index d547081..6e2f2f9 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.22](https://img.shields.io/badge/Version-0.1.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square) +![Version: 0.1.23](https://img.shields.io/badge/Version-0.1.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square) ## Source Code diff --git a/charts/greptimedb-cluster/templates/cluster.yaml b/charts/greptimedb-cluster/templates/cluster.yaml index b608ce4..d801c24 100644 --- a/charts/greptimedb-cluster/templates/cluster.yaml +++ b/charts/greptimedb-cluster/templates/cluster.yaml @@ -19,24 +19,24 @@ spec: {{- if .Values.base.podTemplate.main.env }} env: {{- toYaml .Values.base.podTemplate.main.env | nindent 8 }} {{- end }} - {{- if .Values.base.podTemplate.annotations }} - annotations: {{ .Values.base.podTemplate.annotations | toYaml | nindent 8 }} - {{- end }} - {{- if .Values.base.podTemplate.labels }} - labels: {{ .Values.base.podTemplate.labels | toYaml | nindent 8 }} - {{- end }} - {{- if .Values.base.podTemplate.serviceAccountName }} - serviceAccountName: {{ .Values.base.podTemplate.serviceAccountName }} - {{- end }} - {{- if .Values.base.podTemplate.tolerations }} - tolerations: {{ .Values.base.podTemplate.tolerations | toYaml | nindent 8 }} - {{- end }} - {{- if .Values.base.podTemplate.affinity }} - affinity: {{ .Values.base.podTemplate.affinity | toYaml | nindent 8 }} - {{- end }} - {{- if .Values.base.podTemplate.nodeSelector }} - nodeSelector: {{ .Values.base.podTemplate.nodeSelector | toYaml | nindent 8 }} - {{- end }} + {{- if .Values.base.podTemplate.annotations }} + annotations: {{ .Values.base.podTemplate.annotations | toYaml | nindent 6 }} + {{- end }} + {{- if .Values.base.podTemplate.labels }} + labels: {{ .Values.base.podTemplate.labels | toYaml | nindent 6 }} + {{- end }} + {{- if .Values.base.podTemplate.serviceAccountName }} + serviceAccountName: {{ .Values.base.podTemplate.serviceAccountName }} + {{- end }} + {{- if .Values.base.podTemplate.tolerations }} + tolerations: {{ .Values.base.podTemplate.tolerations | toYaml | nindent 6 }} + {{- end }} + {{- if .Values.base.podTemplate.affinity }} + affinity: {{ .Values.base.podTemplate.affinity | toYaml | nindent 6 }} + {{- end }} + {{- if .Values.base.podTemplate.nodeSelector }} + nodeSelector: {{ .Values.base.podTemplate.nodeSelector | toYaml | nindent 6 }} + {{- end }} {{- if .Values.image.pullSecrets }} imagePullSecrets: {{- range .Values.image.pullSecrets }}