Skip to content

RC Panics on startup #355

@tydanny

Description

@tydanny

What happened?

I tried to use the release candidate for v0.15.0 but it panics with the following on startup.

{"level":"info","ts":"2025-11-05T21:01:40.162Z","logger":"provider-argocd","msg":"Beta feature enabled","flag":"EnableBetaManagementPolicies"}
panic: no kind "ProviderConfigUsage" is registered for version "m.argocd.crossplane.io/v1alpha1" in scheme "pkg/runtime/scheme.go:110"

goroutine 1 [running]:
github.com/crossplane/crossplane-runtime/v2/pkg/resource.MustCreateObject(...)
    github.com/crossplane/crossplane-runtime/[email protected]/pkg/resource/resource.go:128
github.com/crossplane/crossplane-runtime/v2/pkg/reconciler/providerconfig.NewReconciler({0x35e61d8, 0xc000504a80}, {{{0x2fa7849, 0x16}, {0x2f860c2, 0x8}, {0x27682cf,
0xe}}, {{0x2fa7849, 0x16}, ...}, ...}, ...)
    github.com/crossplane/crossplane-runtime/[email protected]/pkg/reconciler/providerconfig/reconciler.go:123 +0x4d5
github.com/crossplane-contrib/provider-argocd/pkg/controller/namespace/config.Setup({0x35e61d8, 0xc000504a80}, {{0x35a86c0, 0xc0001b0210}, {0x35a8690, 0xc000188398},
0xdf8475800, 0xa, 0xc000037000, 0x0, ...})
    github.com/crossplane-contrib/provider-argocd/pkg/controller/namespace/config/config.go:45 +0x598
github.com/crossplane-contrib/provider-argocd/pkg/controller/namespace.Setup({0x35e61d8, 0xc000504a80}, {{0x35a86c0, 0xc0001b0210}, {0x35a8690, 0xc000188398}, 0xdf847
5800, 0xa, 0xc000037000, 0x0, ...})
    github.com/crossplane-contrib/provider-argocd/pkg/controller/namespace/setup.go:44 +0xdf
github.com/crossplane-contrib/provider-argocd/pkg/controller.Setup({0x35e61d8, 0xc000504a80}, {{0x35a86c0, 0xc0001b0210}, {0x35a8690, 0xc000188398}, 0xdf8475800, 0xa,
 0xc000037000, 0x0, ...})
    github.com/crossplane-contrib/provider-argocd/pkg/controller/setup.go:34 +0x95
main.main()
    github.com/crossplane-contrib/provider-argocd/cmd/provider/main.go:137 +0x1e68

How can we reproduce it?

Deploy ghcr.io/crossplane-contrib/provider-argocd:v0.15.0-rc.0.9.g87cd8d7 as the package for the argocd provider and the error should happen on startup.

What environment did it happen in?

Crossplane version: 2.0.0
Crossplane Provider argocd version: v0.15.0-rc.0.9.g87cd8d7

GKE v1.33.5-gke.1162000

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions