chore: clarify cache_ttl to be key_recheck_period

The cache_ttl config value is not in fact tied to the lifetime of any of
the keys, it represents the time interval between for our key cache
refresher.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-05-21 09:35:34 +02:00
parent c25acedbcd
commit c32db30281
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -183,7 +183,7 @@ server:
config:
jwks:
uri: "https://kubernetes.default.svc"
cache_ttl: 3600
key_recheck_period: 3600
tls_cafile: "/path/to/ca.crt"
issuer: "https://kubernetes.default.svc"
audience: "https://kubernetes.default.svc"