Skip to content

no matches for kind "Bar" in version "foo.example.thetirefire/v1" #2

@vorburger

Description

@vorburger

When I go run main.go it initially dies like this:

E0430 13:59:43.495553   12098 deleg.go:144] controller-runtime/source "msg"="if kind is a CRD, it should be installed before calling Start" "error"="no matches for kind \"Bar\" in version \"foo.example.thetirefire/v1\""  "kind"={"Group":"foo.example.thetiroefire","Kind":"Bar"}
E0430 13:59:43.495748   12098 controller.go:190] controller-runtime/manager/controller/bar "msg"="Could not wait for Cache to sync" "error"="failed to wait for bar caches to sync: no matches for kind \"Bar\" in version \"foo.example.thetirefire/v1\"" "reconciler group"="foo.example.thetirefire" "reconciler kind"="Bar" 
E0430 13:59:43.495905   12098 deleg.go:144] setup "msg"="problem running manager" "error"="failed to wait for bar caches to sync: no matches for kind \"Bar\" in version \"foo.example.thetirefire/v1\""  
exit status 1

But apparently only sometimes, if I retry 2-3 times, then it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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