Skip to content

delay start of controller until resource is found #3047

Description

@jvrahav

Is there a way to delay start of a controller until a resource exists in the apiserver.

Say i want to watch resource types A and B. However i want to do this only after some other process has created a resource of resource type C

I need this to avoid watching for resources until a dependent resource exists in the system, resource of type C. This way i can ensure my controller is not consuming resources unless it is required.

Thanks,
Rahav

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions