Skip to content

Commit

Permalink
fix: the incorrect indent for podtemplate field (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 authored Mar 28, 2024
1 parent 5981228 commit 345c9fe
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion charts/greptimedb-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/greptimedb-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
36 changes: 18 additions & 18 deletions charts/greptimedb-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 345c9fe

Please sign in to comment.