From e1f79bcaa896b45cb39323d1497ac4a590d3621e Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 9 Aug 2024 15:55:24 -0700 Subject: [PATCH] Configure fighter traefik instance to pass through requests for *.jafner.dev to the k3s cluster --- .../fighter/config/traefik/config/silver-hand.yaml | 4 +++- homelab/fighter/config/traefik/config/warlock.yaml | 12 ------------ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 homelab/fighter/config/traefik/config/warlock.yaml diff --git a/homelab/fighter/config/traefik/config/silver-hand.yaml b/homelab/fighter/config/traefik/config/silver-hand.yaml index e2aab369..795e781e 100644 --- a/homelab/fighter/config/traefik/config/silver-hand.yaml +++ b/homelab/fighter/config/traefik/config/silver-hand.yaml @@ -1,7 +1,9 @@ tcp: routers: silver-hand: - rule: "HostSNI(`k3s.jafner.net`) || HostSNIRegexp(`*.k3s.jafner.net`)" + entrypoints: + - "websecure" + rule: HostSNIRegexp(`*.jafner.dev`) service: "silver-hand@file" tls: passthrough: true diff --git a/homelab/fighter/config/traefik/config/warlock.yaml b/homelab/fighter/config/traefik/config/warlock.yaml deleted file mode 100644 index dd08ba4a..00000000 --- a/homelab/fighter/config/traefik/config/warlock.yaml +++ /dev/null @@ -1,12 +0,0 @@ -tcp: - routers: - warlock: - rule: "HostSNIRegexp(`jafner.chat`,`*.jafner.chat`)" - service: warlock - tls: - passthrough: true - services: - warlock: - loadBalancer: - servers: - - address: "192.168.1.24:443"