From ac30e7d1ae18d29d59c6046fd2f2194a1bd9e23c Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 21 Jan 2025 09:36:13 +0100 Subject: [PATCH] chore: add supabase-operator docs listener --- contour/resources/default_gateway.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/contour/resources/default_gateway.yaml b/contour/resources/default_gateway.yaml index 22c6a23..862cd76 100644 --- a/contour/resources/default_gateway.yaml +++ b/contour/resources/default_gateway.yaml @@ -176,9 +176,29 @@ spec: namespaces: from: Selector selector: - matchLabels: - kubernetes.io/metadata.name: blog + # workaround to move blog function to functions namespace + matchExpressions: + - key: kubernetes.io/metadata.name + operator: In + values: + - blog + - functions tls: mode: Terminate certificateRefs: - name: git-age-docs-tls + + - name: supabase-operator-docs + hostname: "docs.supabase-operator.icb4dc0.de" + port: 443 + protocol: HTTPS + allowedRoutes: + namespaces: + from: Selector + selector: + matchLabels: + kubernetes.io/metadata.name: functions + tls: + mode: Terminate + certificateRefs: + - name: supabase-operator-docs-tls