fix(authelia): add cookie domain

This commit is contained in:
David Landry 2024-10-09 16:37:48 -04:00
parent 35a80b5420
commit fb6b476d6a
2 changed files with 16 additions and 17 deletions

View file

@ -137,6 +137,8 @@ data:
expiration: '1 hour'
remember_me: '1 month'
cookies:
- domain: 'nc.landry.land'
authelia_url: 'https://auth.nc.landry.land'
regulation:
max_retries: 3
find_time: '2 minutes'
@ -220,7 +222,7 @@ spec:
app.kubernetes.io/managed-by: Helm
helm.sh/chart: authelia-0.9.9
annotations:
authelia.com/checksum-config: 9c19d6aae755992be367bad3d6336c8a2932c355f96272a49539571a85af007a
authelia.com/checksum-config: 006bc5d2a8e6cd74f00c0997a5f019130c7fcf03d794081d7dab493cba204888
spec:
hostNetwork: false
@ -337,16 +339,16 @@ metadata:
kubernetes.io/tls-acme: "true"
spec:
rules:
- host: 'auth.nc.landry.land'
http:
paths:
- path: '/'
pathType: Prefix
backend:
service:
name: authelia
port:
number: 80
- host: 'auth.nc.landry.land'
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: authelia
port:
number: 80
tls:
- hosts:
- 'auth.nc.landry.land'

View file

@ -3,13 +3,8 @@ ingress:
certManager: true
rulesOverride:
- host: auth.nc.landry.land
path: /
tls:
enabled: true
hostnameOverride: auth.nc.landry.land
secret: "authelia-tls"
pod:
@ -762,7 +757,9 @@ configMap:
## value, '{secret_name}' is the secret_name above, and '{path}' is this value.
path: "session.encryption.key"
cookies: []
cookies:
- subdomain: "auth"
domain: "nc.landry.land"
# cookies:
# -
## The subdomain to prefix the domain with. For example using `domain` value `example.com` and `subdomain`