This commit is contained in:
Matt Reeves 2024-07-07 15:56:18 -04:00
parent 05fa04e383
commit be76726d92
3 changed files with 29 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
authentik

View file

@ -85,7 +85,7 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`bazarr.local.mafyuh.com`)
- match: Host(`bazarr.${LOCAL_DOMAIN}`)
kind: Rule
services:
- name: headless-bazarr
@ -94,3 +94,22 @@ spec:
- name: default-headers
tls:
secretName: local-mafyuh-com-production-tls
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: bazarr-pub
namespace: default
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- web
routes:
- match: Host(`bazarr.mafyuh.com`)
kind: Rule
services:
- name: headless-bazarr
port: 6767
middlewares:
- name: default-headers

View file

@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: global-vars
namespace: flux-system
data:
LOCAL_DOMAIN: "local.mafyuh.com"
PUBLIC_DOMAIN: "mafyuh.com"