Update file duplicati-ingress.yaml

This commit is contained in:
2023-04-10 01:23:31 +00:00
parent 7d3eede5d3
commit 02515eb953

View File

@@ -75,7 +75,8 @@ metadata:
name: duplicati-ingress name: duplicati-ingress
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/auth-type: forward #traefik.ingress.kubernetes.io/router.middlewares: default-auth@duplicati,auth-redirect@duplicati
#traefik.ingress.kubernetes.io/auth-type: forward
spec: spec:
entryPoints: entryPoints:
- websecure - websecure
@@ -85,16 +86,14 @@ spec:
services: services:
- name: duplicati - name: duplicati
port: 8200 port: 8200
middlewares:
- name: authentik
namespace: traefik
- match: Host(`duplicati.internal.durp.info`) && PathPrefix(`/outpost.goauthentik.io`) - match: Host(`duplicati.internal.durp.info`) && PathPrefix(`/outpost.goauthentik.io`)
kind: Rule kind: Rule
middlewares:
- name: authentik
namespace: traefik
services: services:
- kind: Service - name: ak-outpost-authentik-embedded-outpost
name: authentik port: 80
namespace: authentik
port: 80
tls: tls:
secretName: duplicati-tls secretName: duplicati-tls