fix: variable context (#15511)

* fix variable context

fixes #15510

* bump version

Co-authored-by: Jeffrey Koetsier <jeffrey@my-clay.com>
diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml
index dad44a8..87bfdca 100644
--- a/helm/superset/Chart.yaml
+++ b/helm/superset/Chart.yaml
@@ -22,7 +22,7 @@
   - name: craig-rueda
     email: craig@craigrueda.com
     url: https://github.com/craig-rueda
-version: 0.3.2
+version: 0.3.3
 dependencies:
 - name: postgresql
   version: 10.2.0
diff --git a/helm/superset/templates/ingress.yaml b/helm/superset/templates/ingress.yaml
index a13767f..7c1dd72 100644
--- a/helm/superset/templates/ingress.yaml
+++ b/helm/superset/templates/ingress.yaml
@@ -16,7 +16,6 @@
 #
 {{ if .Values.ingress.enabled -}}
 {{- $fullName := include "superset.fullname" . -}}
-{{- $ingressPath := .Values.ingress.path -}}
 apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
@@ -46,8 +45,8 @@
     - host: {{ . }}
       http:
         paths:
-          - path: {{ .Values.ingress.path }}
-            pathType: {{ .Values.ingress.pathType }}
+          - path: {{ $.Values.ingress.path }}
+            pathType: {{ $.Values.ingress.pathType }}
             backend:
               service:
                 name: {{ $fullName }}