mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
update
This commit is contained in:
parent
a9b6632a15
commit
eb94cf66d6
2 changed files with 31 additions and 8 deletions
30
dmz/traefik/templates/authentik.yaml
Normal file
30
dmz/traefik/templates/authentik.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: authentik-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`test.durp.info`) && PathPrefix(`/`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: authentik-server
|
||||
port: 443
|
||||
tls:
|
||||
secretName: authentik-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: authentik-tls
|
||||
spec:
|
||||
issuerRef:
|
||||
name: vault-issuer
|
||||
kind: ClusterIssuer
|
||||
secretName: authentik-tls
|
||||
commonName: "test.durp.info"
|
||||
dnsNames:
|
||||
- "test.durp.info"
|
||||
|
|
@ -5,15 +5,8 @@ metadata:
|
|||
data:
|
||||
traefik.yaml: |
|
||||
http:
|
||||
routers:
|
||||
router0:
|
||||
entryPoints:
|
||||
- web
|
||||
service: service-foo
|
||||
rule: host(`test.durp.info`)
|
||||
|
||||
services:
|
||||
service-foo:
|
||||
authentik-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: https://google.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue