supabase-operator/config/dev/apigateway.yaml

56 lines
1.4 KiB
YAML
Raw Normal View History

2025-02-03 09:57:05 +01:00
---
2025-01-28 18:01:34 +01:00
apiVersion: supabase.k8s.icb4dc0.de/v1alpha1
kind: APIGateway
metadata:
labels:
app.kubernetes.io/name: supabase-operator
app.kubernetes.io/managed-by: kustomize
name: gateway-sample
2025-02-03 09:57:05 +01:00
namespace: supabase-demo
2025-01-28 18:01:34 +01:00
spec:
envoy:
disableIPv6: true
2025-02-12 08:20:01 +01:00
workloadSpec:
replicas: 2
2025-01-28 18:01:34 +01:00
apiEndpoint:
jwks:
name: core-sample-jwt
key: jwks.json
2025-02-03 09:57:05 +01:00
dashboardEndpoint:
tls:
cert:
secretName: dashboard-tls-cert
2025-02-03 09:57:05 +01:00
auth:
oauth2:
openIdIssuer: "https://login.microsoftonline.com/f4e80111-1571-477a-b56d-c5fe517676b7/"
2025-02-03 09:57:05 +01:00
clientId: 3528016b-f6e3-49be-8fb3-f9a9a2ab6c3f
scopes:
- openid
- profile
- email
clientSecretRef:
name: studio-sample-oauth2
key: clientSecret
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
labels:
app.kubernetes.io/name: certificate
app.kubernetes.io/instance: dashboard-tls
app.kubernetes.io/component: certificate
app.kubernetes.io/created-by: supabase-operator
app.kubernetes.io/part-of: supabase-operator
app.kubernetes.io/managed-by: kustomize
name: dashboard-tls
namespace: supabase-demo
spec:
dnsNames:
- gateway-sample-envoy.supabase-demo.svc
- gateway-sample-envoy.supabase-demo.svc.cluster.local
- localhost:3000
issuerRef:
kind: ClusterIssuer
name: cluster-pki
2025-02-03 09:57:05 +01:00
secretName: dashboard-tls-cert