Full path to mysubchart file (#4882)

Signed-off-by: Dr Nic Williams <drnicwilliams@gmail.com>
pull/4889/head
Dr Nic Williams 6 years ago committed by Matthew Fisher
parent 6635bff38f
commit f7377100ff

@ -124,7 +124,7 @@ global:
salad: caesar 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`: `mychart/templates/configmap.yaml`:
@ -137,7 +137,7 @@ data:
salad: {{ .Values.global.salad }} salad: {{ .Values.global.salad }}
``` ```
`mysubchart/templates/configmap.yaml`: `mychart/charts/mysubchart/templates/configmap.yaml`:
```yaml ```yaml
apiVersion: v1 apiVersion: v1

Loading…
Cancel
Save