Skip to content

Commit

Permalink
change the way to config tidb/tikv/pd in charts (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangQD authored and weekface committed Jul 17, 2019
1 parent aa62176 commit 9252057
Show file tree
Hide file tree
Showing 12 changed files with 183 additions and 1,056 deletions.
6 changes: 0 additions & 6 deletions charts/tidb-cluster/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ startup-script: |-
config-file: |-
{{- if .Values.pd.config }}
{{ .Values.pd.config | indent 2 }}
{{- else }}
{{ tuple "config/_pd-config.tpl" . | include "helm-toolkit.utils.template" | indent 2 }}
{{- end -}}
{{- end -}}

Expand All @@ -54,8 +52,6 @@ startup-script: |-
config-file: |-
{{- if .Values.tikv.config }}
{{ .Values.tikv.config | indent 2 }}
{{- else }}
{{ tuple "config/_tikv-config.tpl" . | include "helm-toolkit.utils.template" | indent 2 }}
{{- end -}}
{{- end -}}

Expand All @@ -76,8 +72,6 @@ init-sql: |-
config-file: |-
{{- if .Values.tidb.config }}
{{ .Values.tidb.config | indent 2 }}
{{- else }}
{{ tuple "config/_tidb-config.tpl" . | include "helm-toolkit.utils.template" | indent 2 }}
{{- end -}}
{{- end -}}

Expand Down
95 changes: 0 additions & 95 deletions charts/tidb-cluster/templates/config/_pd-config.tpl

This file was deleted.

271 changes: 0 additions & 271 deletions charts/tidb-cluster/templates/config/_tidb-config.tpl

This file was deleted.

Loading

0 comments on commit 9252057

Please sign in to comment.