Kubernetes.K3s.installLog/services/PVR/ingressRoute-PVR.yml.template
2024-02-01 07:07:49 +01:00

42 lines
1.2 KiB
Plaintext

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: pvr-apikeys
namespace: pvr
spec:
entryPoints:
- websecure
routes:
- match: Host(`movies.pvr.spamasaurus.com`) && (Headers(`X-Api-Key`, `<removed>`) || Query(`apikey=<removed>`))
kind: Rule
services:
- name: radarr
port: 7878
middlewares:
- name: security-headers@file
- name: compression@file
- match: Host(`index.pvr.spamasaurus.com`) && (Headers(`X-Api-Key`, `<removed>`) || Query(`apikey=<removed>`))
kind: Rule
services:
- name: prowlarr
port: 9696
middlewares:
- name: security-headers@file
- name: compression@file
- match: Host(`download.pvr.spamasaurus.com`) && (Headers(`X-Api-Key`, `<removed>`) || Query(`apikey=<removed>`))
kind: Rule
services:
- name: sabnzbd
port: 8080
middlewares:
- name: security-headers@file
- name: compression@file
- match: Host(`series.pvr.spamasaurus.com`) && (Headers(`X-Api-Key`, `<removed>`) || Query(`apikey=<removed>`))
kind: Rule
services:
- name: sonarr
port: 8989
middlewares:
- name: security-headers@file
- name: compression@file