root: fix redis config not being updated to match previous change

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2024-01-29 14:02:18 +01:00
parent 6d4125cb90
commit 46fdb45273

View File

@ -25,16 +25,17 @@ type Config struct {
} }
type RedisConfig struct { type RedisConfig struct {
Host string `yaml:"host" env:"AUTHENTIK_REDIS__HOST"` Host string `yaml:"host" env:"HOST, overwrite"`
Port int `yaml:"port" env:"AUTHENTIK_REDIS__PORT"` Port int `yaml:"port" env:"PORT, overwrite"`
Password string `yaml:"password" env:"AUTHENTIK_REDIS__PASSWORD"` DB int `yaml:"db" env:"DB, overwrite"`
TLS bool `yaml:"tls" env:"AUTHENTIK_REDIS__TLS"` Username string `yaml:"username" env:"USERNAME, overwrite"`
TLSReqs string `yaml:"tls_reqs" env:"AUTHENTIK_REDIS__TLS_REQS"` Password string `yaml:"password" env:"PASSWORD, overwrite"`
DB int `yaml:"cache_db" env:"AUTHENTIK_REDIS__DB"` TLS bool `yaml:"tls" env:"TLS, overwrite"`
CacheTimeout int `yaml:"cache_timeout" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT"` TLSReqs string `yaml:"tls_reqs" env:"TLS_REQS, overwrite"`
CacheTimeoutFlows int `yaml:"cache_timeout_flows" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT_FLOWS"` CacheTimeout int `yaml:"cache_timeout" env:"CACHE_TIMEOUT, overwrite"`
CacheTimeoutPolicies int `yaml:"cache_timeout_policies" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT_POLICIES"` CacheTimeoutFlows int `yaml:"cache_timeout_flows" env:"CACHE_TIMEOUT_FLOWS, overwrite"`
CacheTimeoutReputation int `yaml:"cache_timeout_reputation" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT_REPUTATION"` CacheTimeoutPolicies int `yaml:"cache_timeout_policies" env:"CACHE_TIMEOUT_POLICIES, overwrite"`
CacheTimeoutReputation int `yaml:"cache_timeout_reputation" env:"CACHE_TIMEOUT_REPUTATION, overwrite"`
} }
type ListenConfig struct { type ListenConfig struct {