From 3f2b12a38e739087045443a14c658e6d786dd1f6 Mon Sep 17 00:00:00 2001 From: Scott Hussey Date: Tue, 6 Aug 2019 14:45:09 -0500 Subject: [PATCH] (fix) Omit maas-ingress proxy port - When disabling the proxy config for MAAS, also omit configuring the ingress controller to forward that port. Change-Id: Ib06866154f75b2ae561ad80d2ea2c45d3a94951c --- charts/maas/templates/configmap-ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/maas/templates/configmap-ingress.yaml b/charts/maas/templates/configmap-ingress.yaml index e07b9c9..ac21a8b 100644 --- a/charts/maas/templates/configmap-ingress.yaml +++ b/charts/maas/templates/configmap-ingress.yaml @@ -22,7 +22,9 @@ kind: ConfigMap metadata: name: maas-ingress-services-tcp data: +{{- if .Values.conf.maas.proxy.proxy_enabled }} {{ tuple "maas_region" "public" "region_proxy" . | include "helm-toolkit.endpoints.endpoint_port_lookup" | quote }}: "{{- .Release.Namespace -}}/{{- tuple "maas_region" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" -}}:region-proxy" +{{- end }} ... --- apiVersion: v1