Skip to content

controller-runtime/pkg/controller/name.go usedNames is global #2994

@qJkee

Description

@qJkee

Hi. While developing a controllers, i did implement graceful shutdown for controllers and restart them afterwards. But, even the controller manager is being recreated, the usedNames map is not cleaned and there are no mechanism to do so.
I'm wondering if this can be improved and maybe tied to controller.Manager

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions