Files
infrastructure/clusters/cl01tl/applications/calibre-web/templates/ingress-route.yaml
2024-06-22 19:50:22 -05:00

34 lines
936 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: calibre-web
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: calibre-web
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`calibre.alexlebens.net`)
middlewares:
- name: authentik-calibre-web
namespace: {{ .Release.Namespace }}
priority: 10
services:
- kind: Service
name: calibre-web
port: 80
- kind: Rule
match: Host(`calibre.alexlebens.net`) && PathPrefix(`/outpost.goauthentik.io/`)"
priority: 15
services:
- kind: Service
name: authentik-outpost-proxy
port: 9000
namespace: authentik