How often is the cache refreshed? #3517
-
Hi. I was reading this issue about concurrency and large numbers of secrets causing delays in reconciliation. I'm using this operator to manage a few thousand secrets coming from Vault, many of which are set to refresh every hour. My question is: when the flag I have been unable to find any documentation around the cache's behavior. If it exists, please point me in its direction. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Asked and answered in the Slack channel. Trying my best to summarize: The secret state in cache reflects the live secret and is stored in memory to reduce the number of k8s API operations. It does not affect how often the operator checks the source of the secret. So there's no worry about stale secrets continuing to exist without updates. |
Beta Was this translation helpful? Give feedback.
Asked and answered in the Slack channel. Trying my best to summarize:
The secret state in cache reflects the live secret and is stored in memory to reduce the number of k8s API operations. It does not affect how often the operator checks the source of the secret. So there's no worry about stale secrets continuing to exist without updates.