From 624b41347b8500b43a36b8552818ed8a33cd4d6c Mon Sep 17 00:00:00 2001 From: jeffreykoetsier <5791868+jeffreykoetsier@users.noreply.github.com> Date: Mon, 5 Jul 2021 12:01:12 +0200 Subject: [PATCH] fix: variable context (#15511) * fix variable context fixes #15510 * bump version Co-authored-by: Jeffrey Koetsier --- helm/superset/Chart.yaml | 2 +- helm/superset/templates/ingress.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index dad44a82cf..87bfdca3f6 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -22,7 +22,7 @@ maintainers: - 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 a13767faae..7c1dd72f0e 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 @@ spec: - host: {{ . }} http: paths: - - path: {{ .Values.ingress.path }} - pathType: {{ .Values.ingress.pathType }} + - path: {{ $.Values.ingress.path }} + pathType: {{ $.Values.ingress.pathType }} backend: service: name: {{ $fullName }}