Commit f7377100 authored by Dr Nic Williams's avatar Dr Nic Williams Committed by Matthew Fisher
Browse files

Full path to mysubchart file (#4882)


Signed-off-by: default avatarDr Nic Williams <drnicwilliams@gmail.com>
Showing with 2 additions and 2 deletions
+2 -2
...@@ -124,7 +124,7 @@ global: ...@@ -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: ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment