automatically deploy traefik
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user