Files
infrastructure/clusters/cl01tl/applications/calibre-web-automated/templates/ingress-route.yaml

34 lines
976 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: calibre-web-automated
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: calibre-web-automated
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-automated
namespace: {{ .Release.Namespace }}
priority: 10
services:
- kind: Service
name: calibre-web-automated
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