Skip to content

Support configurable lease duration (e.g., via env var or flag) #1727

Description

@damdinsharav

Currently, the lease duration used in lease.NewKubernetes is hardcoded through an empty lease.Options{} struct in pkg/export/setup/setup.go, which defaults to 15 seconds.

It would be helpful to allow configuring LeaseDuration via environment variable, CLI flag, or a field in HAOptions. This would make it easier to adapt the operator to different environments without needing to modify the code directly.

Thanks for the great work on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions