diff --git a/docs/chart_template_guide/subcharts_and_globals.md b/docs/chart_template_guide/subcharts_and_globals.md index a288556d8..1954df39a 100644 --- a/docs/chart_template_guide/subcharts_and_globals.md +++ b/docs/chart_template_guide/subcharts_and_globals.md @@ -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