feat(apps): Replace wireguard config with wg-easy behind authentik

This commit is contained in:
2026-10-10 01:28:34 +05:30
parent f1ea8c5c7a
commit b134f30edc
10 changed files with 156 additions and 89 deletions
+37
View File
@@ -0,0 +1,37 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
annotations:
argocd.argoproj.io/sync-wave: "2"
name: wireguard-admin
namespace: wireguard
spec:
hostnames:
- wg-admin.whyredfire.dev
parentRefs:
- kind: Gateway
name: traefik-gateway
namespace: traefik
sectionName: websecure
rules:
- backendRefs:
- name: authentik-server
namespace: authentik
port: 80
matches:
- path:
type: PathPrefix
value: /outpost.goauthentik.io
- backendRefs:
- name: wireguard-admin
port: 51821
filters:
- extensionRef:
group: traefik.io
kind: Middleware
name: authentik
type: ExtensionRef
matches:
- path:
type: PathPrefix
value: /