<p>I'm trying to deploy the following Ingress with helm:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    io.ctl.cd/ssl: "ui.releasename"
  name: ui
  labels:
    chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
spec:
  rules:
    {{ if eq .Values.nodeSelector.location "minikube" }}
    - host: ui.{{ .Release.Namespace  }}.minikube.test
    {{ else }}
    - host: ui.{{ .Release.Namespace  }}.devhost
    {{ end }}
      http:
        paths:
        - backend:
            serviceName: api
            servicePort: {{ .Values.api.service.port }}
          path: /
</code></pre>

<p>And I'm getting the following error 
    Error: <code>release x-**** failed: Ingress in version "v1beta1" cannot be handled as a Ingress: only encoded map or array can be decoded into a struct</code></p>

<p>I have a very similar ingress that is working fine, I don't don't want is happening with this one.</p>

Carabes
<p>I think problem in this string:</p>

<pre><code>chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
</code></pre>

<p>For test, try:</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    io.ctl.cd/ssl: "ui.releasename"
  name: ui
  labels:
    chart: "{{ .Chart.Name }}"
spec:
  rules:
    {{ if eq .Values.nodeSelector.location "minikube" }}
    - host: ui.{{ .Release.Namespace  }}.minikube.test
    {{ else }}
    - host: ui.{{ .Release.Namespace  }}.devhost
    {{ end }}
      http:
        paths:
        - backend:
            serviceName: api
            servicePort: {{ .Values.api.service.port }}
          path: /
</code></pre>
