forked from coopgo/peertube-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingress.yaml
34 lines (34 loc) · 990 Bytes
/
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
32
33
34
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: peertube
labels:
app: peertube
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: "letsencrypt"
cert-manager.io/acme-challenge-type: http01
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 500m
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: ALLOWALL";
spec:
tls:
- hosts:
- peertube.example.org
secretName: peertube-tls
rules:
- host: peertube.example.org
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: peertube
port:
number: 9000