Add helm chart post-hook option to clean up state secrets when kube agent run as deployment #50291
Labels
c-cdl
Internal Customer Reference
feature-request
Used for new features in Teleport, improvements to current should be #enhancements
helm
What would you like Teleport to do?
Provide helm chart post-hook option to clean up state secrets of rotated teleport kube agents when kube agents are run as part of a deployment.
What problem does this solve?
Some customers run teleport kube-agents in deployment mode (vs. default sts mode). Currently teleport stores the state of each agent in a secret. When agents are managed manually as a deploy vs. sts, restarting the agents creates a new pod with a new secret, but the previous pod's state secret is left behind.
Teleport currently provides a helm post-hook to clean up stale state artifacts on
helm delete
, but not for kube pod restarts. This in turn leaves a large number of orphaned secrets behind which require manual cleanup.If a workaround exists, please include it.
Manually track and remove old state secrets.
The text was updated successfully, but these errors were encountered: