diff --git a/charts/maas/templates/ingress-region.yaml b/charts/maas/templates/ingress-region.yaml index 9801fae..089f97f 100644 --- a/charts/maas/templates/ingress-region.yaml +++ b/charts/maas/templates/ingress-region.yaml @@ -27,7 +27,11 @@ spec: - host: {{ tuple "maas_region" "public" . | include "helm-toolkit.endpoints.hostname_fqdn_endpoint_lookup" }} http: paths: +{{- if .Values.conf.maas.ingress_disable_gui }} + - path: /MAAS/api +{{- else }} - path: / +{{- end }} backend: serviceName: {{ tuple "maas_region" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }} servicePort: region-api diff --git a/charts/maas/values.yaml b/charts/maas/values.yaml index 7be752f..f475f43 100644 --- a/charts/maas/values.yaml +++ b/charts/maas/values.yaml @@ -154,6 +154,7 @@ conf: override: append: http_boot: true + ingress_disable_gui: false ntp: # These options allow you to mock out the ntpd binary within the container # by overwriting it with a script that simply sleeps - this is useful in