-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathingress.yaml
More file actions
42 lines (42 loc) Β· 1.44 KB
/
Copy pathingress.yaml
File metadata and controls
42 lines (42 loc) Β· 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Miss Islington - Cabotage Ingress
# Apply manually: kubectl apply -f infra/k8s/ingress.yaml
#
# Exposes the Cabotage-deployed app via nginx-ingress
# with Let's Encrypt TLS certificates via cert-manager.
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: python-miss-islington-miss-islington-web
namespace: python
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-connect-timeout: 10s
nginx.ingress.kubernetes.io/proxy-next-upstream: error
nginx.ingress.kubernetes.io/proxy-read-timeout: 60s
nginx.ingress.kubernetes.io/proxy-request-buffering: "on"
nginx.ingress.kubernetes.io/proxy-send-timeout: 60s
nginx.ingress.kubernetes.io/service-upstream: "true"
labels:
app: python-miss-islington-miss-islington
process: web
resident-service.cabotage.io: "true"
spec:
ingressClassName: nginx
rules:
- host: python-miss-islington-miss-islington-web.ingress.us-east-2.psfhosted.computer
http:
paths:
- backend:
service:
name: python-miss-islington-miss-islington-web
port:
number: 443
path: /
pathType: Prefix
tls:
- hosts:
- python-miss-islington-miss-islington-web.ingress.us-east-2.psfhosted.computer
secretName: ingress-python-miss-islington-miss-islington-web