title: nil pointer evaluating interface when installing a helm chart
body: <p>I'm trying to install a chart to my cluster but I'm getting a error</p>
  <pre><code>Error: template: go-api/templates/deployment.yaml:18:24: executing &quot;go-api/templates/deployment.yaml&quot; 
  at &lt;.Values.deployment.container.name&gt;: nil pointer evaluating interface {}.name
  </code></pre>
  <p>However I executed the same commands for another 2 charts and it worked fine.</p>
  <p>The template file I'm using is this:</p>
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata:
    namespace: {{ .Values.namespace}}
    labels: {{- include &quot;chart.labels&quot; . | nindent 4 }}
    name: {{ .Values.deployment.name}}
  spec:
    replicas: {{ .Values.deployment.replicas}}
    selector:
      matchLabels: {{ include &quot;chart.matchLabels&quot; . | nindent 6 }}
    template:
      metadata:
        labels: 
          app.kubernetes.io/name: {{ template &quot;chart.name&quot; . }}
          app.kubernetes.io/instance: {{ .Release.Name }}
      spec:
        containers:
        - name: {{ .Values.deployment.container.name }}
          image: {{ .Values.deployment.container.image }}
          imagePullPolicy: Never
          ports:
            - containerPort: {{ .Values.deployment.container.port }}
  
  </code></pre>