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