Update 2 files

- /heimdall/values.yaml
- /heimdall/templates/ingress.yaml
This commit is contained in:
2023-04-16 14:47:58 +00:00
parent aa594de4b5
commit 50feea4988
2 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: heimdall-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`heimdall.durp.info`) && PathPrefix(`/`)
middlewares:
- name: whitelist
namespace: traefik
- name: authentik-proxy-provider
namespace: traefik
kind: Rule
services:
- name: heimdall
port: 80
- match: Host(`heimdall.durp.info`) && PathPrefix(`/outpost.goauthentik.io`)
kind: Rule
services:
- name: ak-outpost-authentik-embedded-outpost
namespace: authentik
port: 9000
tls:
secretName: heimdall-tls
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: heimdall-tls
spec:
secretName: heimdall-tls
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
commonName: "heimdall.durp.info"
dnsNames:
- "heimdall.durp.info"

View File

@@ -17,7 +17,7 @@ heimdall:
ingress:
main:
enabled: true
enabled: false
ingressClassName: "nginx"
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production