-
Notifications
You must be signed in to change notification settings - Fork 1
/
ingress.yaml
31 lines (31 loc) · 1.08 KB
/
ingress.yaml
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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: megasecond
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
ingress.pomerium.io/allow_public_unauthenticated_access: "true"
ingress.pomerium.io/pass_identity_headers: "true"
ingress.pomerium.io/preserve_host_header: "true"
ingress.pomerium.io/allow_websockets: "true"
spec:
ingressClassName: pomerium
rules:
- host: "megasecond.club"
http:
paths:
- pathType: Prefix
path: /
backend: { service: { name: megasecond, port: { name: 'client' } } }
- pathType: Prefix
path: /server/
backend: { service: { name: megasecond, port: { name: 'server' } } }
- pathType: Prefix
path: /log/rebuild/
backend: { service: { name: megasecond, port: { name: 'clientvitelog' } } }
- pathType: Prefix
path: /log/server/
backend: { service: { name: megasecond, port: { name: 'serverlog' } } }
tls:
- hosts: [megasecond.club]
secretName: megasecond.club-tls