From 5c8f024d121d8b80fa83b2519a1f36df5fb253cc Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Sun, 23 Apr 2023 18:37:53 +1000 Subject: [PATCH] website: add documentation for AUTHENTIK_REDIS__TLS (#5349) * website: add documentation for AUTHENTIK_REDIS__TLS Signed-off-by: Bardi Harborow * add tls reqs Signed-off-by: Jens Langhammer --------- Signed-off-by: Bardi Harborow Signed-off-by: Jens Langhammer Co-authored-by: Jens Langhammer --- internal/config/struct.go | 2 +- website/docs/installation/configuration.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/config/struct.go b/internal/config/struct.go index b237a425a..995bb187c 100644 --- a/internal/config/struct.go +++ b/internal/config/struct.go @@ -30,7 +30,7 @@ type RedisConfig struct { Password string `yaml:"password" env:"AUTHENTIK_REDIS__PASSWORD"` TLS bool `yaml:"tls" env:"AUTHENTIK_REDIS__TLS"` TLSReqs string `yaml:"tls_reqs" env:"AUTHENTIK_REDIS__TLS_REQS"` - DB int `yaml:"cache_db" env:"AUTHENTIK_REDIS__CACHE_DB"` + DB int `yaml:"cache_db" env:"AUTHENTIK_REDIS__DB"` CacheTimeout int `yaml:"cache_timeout" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT"` CacheTimeoutFlows int `yaml:"cache_timeout_flows" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT_FLOWS"` CacheTimeoutPolicies int `yaml:"cache_timeout_policies" env:"AUTHENTIK_REDIS__CACHE_TIMEOUT_POLICIES"` diff --git a/website/docs/installation/configuration.md b/website/docs/installation/configuration.md index 53410b19e..a40b4eaa9 100644 --- a/website/docs/installation/configuration.md +++ b/website/docs/installation/configuration.md @@ -43,6 +43,8 @@ kubectl exec -it deployment/authentik-worker -c authentik -- ak dump_config - `AUTHENTIK_REDIS__HOST`: Hostname of your Redis Server - `AUTHENTIK_REDIS__PORT`: Redis port, defaults to 6379 - `AUTHENTIK_REDIS__PASSWORD`: Password for your Redis Server +- `AUTHENTIK_REDIS__TLS`: Use TLS to connect to Redis, defaults to false +- `AUTHENTIK_REDIS__TLS_REQS`: Redis TLS requirements, defaults to "none" - `AUTHENTIK_REDIS__DB`: Database, defaults to 0 - `AUTHENTIK_REDIS__CACHE_TIMEOUT`: Timeout for cached data until it expires in seconds, defaults to 300 - `AUTHENTIK_REDIS__CACHE_TIMEOUT_FLOWS`: Timeout for cached flow plans until they expire in seconds, defaults to 300