From 856070907e7a42b93a248560fa0b517ce2a92dc1 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Mon, 3 Mar 2025 08:11:03 -0600 Subject: [PATCH] update ingress to match --- helm-chart/templates/ingress.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm-chart/templates/ingress.yaml b/helm-chart/templates/ingress.yaml index d7e012e..647aa67 100644 --- a/helm-chart/templates/ingress.yaml +++ b/helm-chart/templates/ingress.yaml @@ -8,7 +8,13 @@ metadata: spec: rules: {{- range .Values.sites }} + {{- if .apex }} + - host: {{ .host }} + {{- else if .subdomain }} + - host: {{ .subdomain }}.{{ .host }} + {{- else }} - host: {{ .name }}.{{ .host }} + {{ end }} http: paths: - path: /