We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of Kubernetes are you using? Kubernetes: 1.12.6 tidb-operator: Latest Helm:
$ helm version Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
What did you do? Try to set some helm variable from command line:
helm install --debug --dry-run -n test ./charts/tidb-cluster --set tidb.tokenLimit='1000'
Which causes the following error:
[debug] Created tunnel using local port: '60216' [debug] SERVER: "127.0.0.1:60216" [debug] Original chart version: "" [debug] CHART PATH: /Users/alei/go/src/github.com/pingcap/tidb-operator/charts/tidb-cluster Error: render error in "tidb-cluster/templates/tidb-configmap.yaml": template: tidb-cluster/templates/_helpers.tpl:86:3: executing "tidb-configmap.data-digest" at <include "tidb-config...>: error calling include: template: tidb-cluster/templates/_helpers.tpl:81:39: executing "tidb-configmap.data" at <include "helm-toolki...>: error calling include: template: tidb-cluster/templates/_helpers.tpl:23:3: executing "helm-toolkit.utils.template" at <include $wtf $contex...>: error calling include: template: tidb-cluster/templates/config/_tidb-config.tpl:32:60: executing "tidb-cluster/templates/config/_tidb-config.tpl" at <atoi>: wrong type for value; expected string; got float64
According to helm/helm#1694, when set string literal, the quotes have to be escaped:
helm install --debug --dry-run -n test ./charts/tidb-cluster --set tidb.tokenLimit=\"1000\"
The command runs without error, however, the configuration rendered is not as expected:
... # The limit of concurrent executed sessions. token-limit = 0 ...
Other string format numeric values have the same problem as above.
What did you expect?
helm install --set key=\"<int>\"
The text was updated successfully, but these errors were encountered:
According to helm/helm#1707, it should be --set-string, which works for me.
--set-string
Sorry, something went wrong.
I would like to user the style of the Grafana chart where the helm values generate the config file so there is no templating of a config file.
en: add local-volume-provisioner offline installation (#480)
d74f155
* en: add local-volume-provisioner offline installation * Apply suggestions from code review * Update en/configure-storage-class.md Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
No branches or pull requests
Bug Report
What version of Kubernetes are you using?
Kubernetes: 1.12.6
tidb-operator: Latest
Helm:
What did you do?
Try to set some helm variable from command line:
Which causes the following error:
According to helm/helm#1694, when set string literal, the quotes have to be escaped:
The command runs without error, however, the configuration rendered is not as expected:
Other string format numeric values have the same problem as above.
What did you expect?
helm install --set key=\"<int>\"
should set the value correctly.The text was updated successfully, but these errors were encountered: