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

View file

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