Skip to content

Unable to deploy operator : no matches for kind \"Pooler\" #544

@Ludea

Description

@Ludea

I try to install operator with helm and default values, but get:

{"level":"info","ts":"2025-03-20T12:20:02.331028828Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"1.25.1","build":{"Version":"1.25.1","Commit":"c56e00d4","Date":"2025-02-28"}}
 {"level":"info","ts":"2025-03-20T12:20:02.331722123Z","logger":"setup","msg":"Listening for changes on all namespaces"}
 {"level":"info","ts":"2025-03-20T12:20:02.334366599Z","logger":"setup","msg":"Loading configuration from ConfigMap","namespace":"cnpg","name":"cnpg-controller-manager-config"}
 {"level":"info","ts":"2025-03-20T12:20:02.520118476Z","logger":"setup","msg":"Operator configuration loaded","configuration":{"webhookCertDir":"","pluginSocketDir":"/plugins","watchNamespace":"","operatorNamespace":"cnpg","operatorPullSecretName":"cnpg-pull-secret","operatorImageName":"ghcr.io/cloudnative-pg/cloudnative-pg:1.25.1","postgresImageName":"ghcr.io/cloudnative-pg/postgresql:17.4","inheritedAnnotations":null,"inheritedLabels":null,"monitoringQueriesConfigmap":"cnpg-default-monitoring","monitoringQueriesSecret":"","enableInstanceManagerInplaceUpdates":false,"enableAzurePVCUpdates":false,"certificateDuration":90,"expiringCheckThreshold":7,"createAnyService":false,"clustersRolloutDelay":0,"instancesRolloutDelay":0,"includePlugins":""}}
 {"level":"info","ts":"2025-03-20T12:20:02.529122845Z","logger":"setup","msg":"Kubernetes system metadata","haveSCC":false,"haveVolumeSnapshot":false,"availableArchitectures":[{"GoArch":"amd64"},{"GoArch":"arm64"}]}
 {"level":"error","ts":"2025-03-20T12:20:03.552369686Z","logger":"setup","msg":"unable to create controller","controller":"Cluster","error":"no matches for kind \"Pooler\" in version \"postgresql.cnpg.io/v1\"","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\tpkg/mod/github.com/cloudnative-pg/[email protected]/pkg/log/log.go:125\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/controller.RunController\n\tinternal/cmd/manager/controller/controller.go:226\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/controller.NewCmd.func1\n\tinternal/cmd/manager/controller/cmd.go:43\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/[email protected]/command.go:1015\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/[email protected]/command.go:1148\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/[email protected]/command.go:1071\nmain.main\n\tcmd/manager/main.go:68\nruntime.main\n\t/opt/hostedtoolcache/go/1.24.0/x64/src/runtime/proc.go:283"}

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