Allow users to define the expiration period for bootstrapper tokens #108
Labels
enhancement
New feature or request
needs triage
Waiting for discussion / prioritization by team
wontfix
This will not be worked on
What would you like to be added
Allow users to define the expiration period for the tokens issued by the autocert pod and consumed by the autocert-bootstrapper initContainer.
Why this is needed
I'm working on a project that spawns multiple pods, all of which need to wait for another deployment to become available. This is achieved by adding an
initContainer
to them that polls to the API about the status of said deployment.The issue I'm facing is that this deployment takes longer to become available than the expiration period set for the tokens issued by
autocert
, so by the time theautocert-bootstrapper
initializes, the token has expired and has been automatically removed, making my pods wait for a condition that will never be met, hanging indefinitely until I manually restart the deployments.The text was updated successfully, but these errors were encountered: