title: Use Chart Values from Subchart in Helm
body: <p>using 0.13.2 Helm provider terraform, I have a Chart with a subchart nested:</p>
  <pre><code>├── charts
  │   └── postgres
  │       ├── Chart.yaml
  │       ├── templates
  │       │   ├── deployment.yaml
  │       │   ├── env.yaml
  │       │   └── service.yaml
  │       └── values.yaml
  ├── Chart.yaml
  ├── templates
  │   ├── configmap.yaml
  │   ├── deployment.yaml
  │   ├── env.yaml
  │   ├── ingress.yaml
  │   └── service.yaml
  └── values.yaml
  </code></pre>
  <p>I need to use from the deployment.yml of the postgres subchart, the values of the parent chart. How can I config the configmap of the subchart to get the parent chart values? My current configmap is like this:</p>
  <pre><code>apiVersion: v1
  kind: ConfigMap
  metadata:
    name: {{ .Release.Name }}-postgres-env
    namespace: {{ .Release.Namespace }}
  data:
    {{- range $key, $val := .Values.environment }}
    {{ $key }}: {{ $val | quote }}
    {{- end }}
  </code></pre>
  <p>Thanks in advance.</p>