This repository was archived by the owner on Aug 17, 2023. It is now read-only.
Commit a9674a3
committed
fix(charts) add quote around daemon_environment value
This change need to to avoid validation error when run helm install.
Type of spec.template.spec.containers[].env[].value field must be
string.
how to test this change (it also reproduce problem)
```
$ cat<<EOS > values.yaml
daemon_environment:
SEND_LOGS_TO_NSQ: "true"
EOS
$ helm install --namespace deis-fluentd ./charts/fluentd -f values.yaml
```
Before this change, we got following error.
> Error: error validating "": error validating data: expected type string,
for field spec.template.spec.containers[0].env[0].value, got bool1 parent 9caba5d commit a9674a3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments