Skip to content

GCP clusters have no auth provider? #5

@srgvg

Description

@srgvg
└➞  wtfk8s pods
panic: no Auth Provider found for name "gcp"

goroutine 1 [running]:
k8s.io/apimachinery/pkg/util/runtime.Must(...)
	/home/serge/go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/runtime/runtime.go:171
github.com/rancher/wrangler/pkg/generic.(*Factory).ControllerFactory(...)
	/home/serge/go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220217210408-3ecd23dfea3b/pkg/generic/factory.go:68
github.com/rancher/wrangler/pkg/clients.ensureSharedFactory(0xc00048cfc0?, 0x0?)
	/home/serge/go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220217210408-3ecd23dfea3b/pkg/clients/clients.go:66 +0x176
github.com/rancher/wrangler/pkg/clients.NewFromConfig(0xc000122aa0?, 0x1626100?)
	/home/serge/go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220217210408-3ecd23dfea3b/pkg/clients/clients.go:89 +0x8d
github.com/rancher/wrangler/pkg/clients.New({0x192ff80, 0xc000122aa0}, 0x0?)
	/home/serge/go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220217210408-3ecd23dfea3b/pkg/clients/clients.go:77 +0x3f
main.mainErr()
	/home/serge/go/pkg/mod/github.com/ibuildthecloud/wtfk8s@v0.0.0-20220525234629-4f7af5ec1e32/main.go:39 +0xe6
main.main()
	/home/serge/go/pkg/mod/github.com/ibuildthecloud/wtfk8s@v0.0.0-20220525234629-4f7af5ec1e32/main.go:27 +0x5e

Perhaps something ismilar must happen as with ibuildthecloud/finalizers@d5e3bbd ? (Sorry, no golang knowledge...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions