automatically deploy traefik

This commit is contained in:
2023-12-06 19:46:20 +01:00
parent 8d381d8b93
commit ab3dba75c5
12 changed files with 67 additions and 72 deletions

View File

@@ -28,7 +28,7 @@ spec:
env:
- name: TZ
value: Europe/Berlin
image: adguard/adguardhome:v0.107.7
image: adguard/adguardhome:v0.107.41
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3

View File

@@ -1,42 +1,15 @@
# apiVersion: traefik.containo.us/v1alpha1
# kind: Middleware
# metadata:
# name: authentik-auth
# namespace: adguard
# spec:
# forwardAuth:
# address: https://adguard.kluster.moll.re/outpost.goauthentik.io/auth/traefik
# trustForwardHeader: true
# authResponseHeaders:
# - X-authentik-username
# - X-authentik-groups
# - X-authentik-email
# - X-authentik-name
# - X-authentik-uid
# - X-authentik-jwt
# - X-authentik-meta-jwks
# - X-authentik-meta-outpost
# - X-authentik-meta-provider
# - X-authentik-meta-app
# - X-authentik-meta-version
# ---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
kind: IngressRouteTCP
metadata:
name: adguard-ingress
name: adguard-tls-ingress
namespace: adguard
spec:
entryPoints:
- websecure
- dnsovertls
routes:
- match: Host(`adguard.kluster.moll.re`)
kind: Rule
# middlewares:
# - name: authentik-auth
- match: HostSNI(`adguard.kluster.moll.re`)
services:
- name: adguard-home
port: 3000
- name: adguard-adguard-home-dns-tcp
port: 53
tls:
certResolver: default-tls