From be76726d9298173b3e594224e87a553b4b021ef2 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sun, 7 Jul 2024 15:56:18 -0400 Subject: [PATCH] testing --- .gitignore | 1 + cluster/apps/production/bazarr/bazarr.yaml | 21 ++++++++++++++++++++- cluster/apps/production/flux/configmap.yaml | 8 ++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 cluster/apps/production/flux/configmap.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8eca2bb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +authentik \ No newline at end of file diff --git a/cluster/apps/production/bazarr/bazarr.yaml b/cluster/apps/production/bazarr/bazarr.yaml index 96025a9..5b5675e 100644 --- a/cluster/apps/production/bazarr/bazarr.yaml +++ b/cluster/apps/production/bazarr/bazarr.yaml @@ -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 diff --git a/cluster/apps/production/flux/configmap.yaml b/cluster/apps/production/flux/configmap.yaml new file mode 100644 index 0000000..319a4e2 --- /dev/null +++ b/cluster/apps/production/flux/configmap.yaml @@ -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"