From f7377100ff15e613ee6cf9eeb6b609338862edf4 Mon Sep 17 00:00:00 2001 From: Dr Nic Williams Date: Wed, 7 Nov 2018 09:31:23 +1000 Subject: [PATCH] Full path to mysubchart file (#4882) Signed-off-by: Dr Nic Williams --- docs/chart_template_guide/subcharts_and_globals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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