(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
This commit is contained in:
Scott Hussey 2019-08-06 14:45:09 -05:00
parent 922db8aee1
commit 3f2b12a38e
1 changed files with 2 additions and 0 deletions

View File

@ -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