add affine
This commit is contained in:
27
deploy/affine/ingress.yaml
Normal file
27
deploy/affine/ingress.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: affine-ingress
|
||||
namespace: affine
|
||||
annotations:
|
||||
# (If you’re using cert-manager + Let’s Encrypt)
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- affine.prod.panic.haus # ← replace with your desired Affine hostname
|
||||
secretName: affine-tls # ← must match an existing TLS Secret for that host
|
||||
rules:
|
||||
- host: affine.prod.panic.haus # ← change to whatever subdomain you choose
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: affine-server
|
||||
port:
|
||||
number: 3010
|
||||
Reference in New Issue
Block a user