fix(authelia): attempt on issue with DaemonSet env value

This commit is contained in:
David Landry 2024-10-09 15:48:04 -04:00
parent 3a20805e29
commit 06933c0ae4
2 changed files with 14 additions and 0 deletions

9
apps/authelia/README.md Normal file
View file

@ -0,0 +1,9 @@
To force auth for an app that doesn't have it, use:
```
annotations:
nginx.ingress.kubernetes.io/auth-method: 'GET'
nginx.ingress.kubernetes.io/auth-url: 'http://authelia.authelia-system.svc.cluster.local/api/authz/auth-request'
nginx.ingress.kubernetes.io/auth-signin: 'https://auth.nc.landry.land?rm=$request_method'
nginx.ingress.kubernetes.io/auth-response-headers: 'Remote-User,Remote-Name,Remote-Groups,Remote-Email'
```

View file

@ -3,6 +3,7 @@ kind: DaemonSet
metadata:
name: authelia
spec:
revisionHistoryLimit: 3
template:
spec:
containers:
@ -36,3 +37,7 @@ spec:
key: password
# - name: TZ
# value: ...
# Overriding the definition from Helm because ArgoCD is mangling it for some reason
- name: AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE
value: "/secrets/internal/identity_validation.reset_password.jwt.hmac.key"