From 0facbbcf21c42989dbb885597009d41668291487 Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Fri, 15 Feb 2019 14:52:32 +0100 Subject: [PATCH] [stable/superset] Use the target port number instead of a name (#7857) * [stable/superset] Use the target port number instead of a name Older (but still actual) versions of some Network Policy providers don't support named ports as a value of `targetPort` field in the Service spec. Changing it to the number shouldn't break the UX for existing installations. Signed-off-by: Mikhail Zholobov * [stable/superset] Bump version Signed-off-by: Mikhail Zholobov --- stable/superset/Chart.yaml | 2 +- stable/superset/templates/svc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/superset/Chart.yaml b/stable/superset/Chart.yaml index cdf4fa4edb..73998b2027 100644 --- a/stable/superset/Chart.yaml +++ b/stable/superset/Chart.yaml @@ -1,6 +1,6 @@ description: Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application name: superset -version: 1.1.4 +version: 1.1.5 appVersion: "0.28.1" keywords: - bi diff --git a/stable/superset/templates/svc.yaml b/stable/superset/templates/svc.yaml index 1fdd3dc0a2..8df325ea8e 100644 --- a/stable/superset/templates/svc.yaml +++ b/stable/superset/templates/svc.yaml @@ -36,7 +36,7 @@ spec: ports: - name: http port: {{ .Values.service.port }} - targetPort: http + targetPort: 8088 protocol: TCP {{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }} nodePort: {{.Values.service.nodePort}}