feat(nextgen): setup supabase deployment and ingress in nextgen namespace
This commit is contained in:
parent
9388422c14
commit
675f9521b1
|
|
@ -6,3 +6,6 @@ resources:
|
||||||
- 10-postgres.yaml
|
- 10-postgres.yaml
|
||||||
- 20-mattermost.yaml
|
- 20-mattermost.yaml
|
||||||
- 30-vaultwarden.yaml
|
- 30-vaultwarden.yaml
|
||||||
|
- supabase-nextgen.yaml
|
||||||
|
- supabase-nextgen-ingress.yaml
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: supabase-nextgen-kong-ingress
|
||||||
|
namespace: nextgen
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "500m"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- api.next-gen.techarvest.co.zw
|
||||||
|
secretName: supabase-nextgen-tls
|
||||||
|
rules:
|
||||||
|
- host: api.next-gen.techarvest.co.zw
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: supabase-nextgen-supabase-kong
|
||||||
|
port:
|
||||||
|
number: 8000
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: supabase-nextgen-studio-ingress
|
||||||
|
namespace: nextgen
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- studio.next-gen.techarvest.co.zw
|
||||||
|
secretName: supabase-nextgen-studio-tls
|
||||||
|
rules:
|
||||||
|
- host: studio.next-gen.techarvest.co.zw
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: supabase-nextgen-supabase-studio
|
||||||
|
port:
|
||||||
|
number: 3000
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue