Skip to content

Allow users to define the expiration period for bootstrapper tokens #108

@lmbaschiera

Description

@lmbaschiera

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 the autocert-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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds triageWaiting for discussion / prioritization by teamwontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions