Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change the way to config tidb/tikv/pd in charts #638

Merged
merged 14 commits into from
Jul 17, 2019
Merged
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