This commit is contained in:
Matt Reeves 2024-07-08 22:30:58 -04:00
parent 6bf9892827
commit 03b2c2b14f
2 changed files with 18 additions and 13 deletions

View file

@ -1,3 +1,4 @@
# all invalid values, pushed to git for testing with flux.
apiVersion: v1
kind: ConfigMap
metadata:

View file

@ -74,26 +74,30 @@ spec:
protocol: TCP
type: ClusterIP
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bazarr
namespace: default
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`bazarr.${LOCAL_DOMAIN}`)
kind: Rule
services:
- name: headless-bazarr
port: 6767
middlewares:
- name: default-headers
rules:
- host: "bazarr.${LOCAL_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: headless-bazarr
port:
number: 6767
tls:
- hosts:
- "bazarr.${LOCAL_DOMAIN}"
secretName: local-mafyuh-com-production-tls
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute