Update 3 files

- /traefik/templates/middlewares.yaml
- /internalproxy/templates/duplicati-ingress.yaml
- /internalproxy/templates/argocd.yaml
This commit is contained in:
2023-04-11 16:07:45 +00:00
parent f407f4fa01
commit 2fad85a9d7
3 changed files with 18 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ spec:
entryPoints: entryPoints:
- websecure - websecure
routes: routes:
middlewares:
- name: whitelist
namespace: traefik
- match: Host(`argocd.internal.durp.info`) - match: Host(`argocd.internal.durp.info`)
kind: Rule kind: Rule
services: services:

View File

@@ -39,6 +39,8 @@ spec:
middlewares: middlewares:
- name: authentik-proxy-provider - name: authentik-proxy-provider
namespace: traefik namespace: traefik
- name: whitelist
namespace: traefik
kind: Rule kind: Rule
services: services:
- name: duplicati - name: duplicati

View File

@@ -19,3 +19,15 @@ spec:
- X-authentik-meta-provider - X-authentik-meta-provider
- X-authentik-meta-app - X-authentik-meta-app
- X-authentik-meta-version - X-authentik-meta-version
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: whitelist
namespace: traefik
spec:
ipWhiteList:
sourceRange:
- 192.168.0.0/16