Fixes controlplane.tftpl's install.wipe:true (should be false, live CPs already run false) and syncs coredns Corefile back to what's actually deployed (drops an unrolled-out, stale Kong-era rewrite).
25 lines
796 B
YAML
25 lines
796 B
YAML
# Direct nginx ingress to the paperless Service - not routed via the Go
|
|
# api-gateway (api.riotpiao.com), which has no WebSocket upgrade support and
|
|
# paperless-ngx keeps a long-lived /ws/ connection open for live task status.
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: paperless
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0" # large scanned PDF uploads
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: paperless.riotpiao.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: paperless
|
|
port:
|
|
number: 8000
|