The secret generator appears to have a memory leak of some sort. If I limit its max memory to 200MB it dies every once in a while, even if I'm not generating any secrets whatsoever.
Without limit, it grows to up to 800MB or more - it's unclear for what reason it needs so much memory.
To Reproduce
Install into empty cluster, observe memory usage with kubectl top
Expected behavior
Memory usage is consistently low and doesn't grow to 800MB
Environment:
Kubernetes version: 1.29
kubernetes-secret-generator version: latest (installed recently via helm)
Describe the bug
The secret generator appears to have a memory leak of some sort. If I limit its max memory to 200MB it dies every once in a while, even if I'm not generating any secrets whatsoever.
Without limit, it grows to up to 800MB or more - it's unclear for what reason it needs so much memory.
To Reproduce
Install into empty cluster, observe memory usage with
kubectl top
Expected behavior
Memory usage is consistently low and doesn't grow to 800MB
Environment: