Full path to mysubchart file (#4882)

Signed-off-by: Dr Nic Williams <drnicwilliams@gmail.com>
pull/4207/head^2
Dr Nic Williams 7 years ago committed by Sebastien Plisson
parent bde11ee896
commit 1652b3292d

@ -124,7 +124,7 @@ global:
salad: caesar
```
Because of the way globals work, both `mychart/templates/configmap.yaml` and `mysubchart/templates/configmap.yaml` should be able to access that value as `{{ .Values.global.salad}}`.
Because of the way globals work, both `mychart/templates/configmap.yaml` and `mychart/charts/mysubchart/templates/configmap.yaml` should be able to access that value as `{{ .Values.global.salad}}`.
`mychart/templates/configmap.yaml`:
@ -137,7 +137,7 @@ data:
salad: {{ .Values.global.salad }}
```
`mysubchart/templates/configmap.yaml`:
`mychart/charts/mysubchart/templates/configmap.yaml`:
```yaml
apiVersion: v1

Loading…
Cancel
Save