Skip to content

Lease name should be configurable #685

@james-callahan

Description

@james-callahan

For various reasons to work around csi implementation shortcomings, we need to run multiple concurrent csi-attacher daemons (one per region).
However the lock name is not configurable. Code at

lockName := "external-attacher-leader-" + csiAttacher

For now we accomplish this by having each instance keep its leases in a different namespaces via --leader-election-namespace, but it's annoying to have to create and maintain various namespaces containing only a lease + the necessary rolebinding

We'd love a new command line flag/env var e.g. --leader-election-lease-name with the current value as the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions