Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceBinding kind not installed #2018

Closed
mmelko opened this issue Feb 10, 2021 · 0 comments · Fixed by #2019
Closed

ServiceBinding kind not installed #2018

mmelko opened this issue Feb 10, 2021 · 0 comments · Fixed by #2019
Labels
kind/bug Something isn't working

Comments

@mmelko
Copy link
Contributor

mmelko commented Feb 10, 2021

after install-crc from the master branch cannot run operator locally due to:

{"level":"error","ts":1612953700.9769428,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"ServiceBinding.operators.coreos.com","error":"no matches for kind \"ServiceBinding\" in version \"operators.coreos.com/v1alpha1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/mmelko/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/home/mmelko/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/source/source.go:117\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/mmelko/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:143\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/home/mmelko/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:184\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/home/mmelko/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/manager/internal.go:661"}
{"level":"info","ts":1612953700.9770706,"logger":"camel-k.controller.integrationplatform","msg":"Invoking action monitor","request-namespace":"podtraittest","request-name":"camel-k","api-version":"camel.apache.org/v1","kind":"IntegrationPlatform","ns":"podtraittest","name":"camel-k"}
{"level":"info","ts":1612953700.9770668,"logger":"controller","msg":"Stopping workers","controller":"kamelet-binding-controller"}
{"level":"info","ts":1612953700.977109,"logger":"controller","msg":"Stopping workers","controller":"build-controller"}
{"level":"info","ts":1612953700.9771152,"logger":"controller","msg":"Stopping workers","controller":"integrationkit-controller"}
{"level":"info","ts":1612953700.9771066,"logger":"controller","msg":"Stopping workers","controller":"integrationplatform-controller"}
{"level":"info","ts":1612953700.9770942,"logger":"controller","msg":"Stopping workers","controller":"kamelet-controller"}
{"level":"error","ts":1612953700.9771736,"logger":"cmd","msg":"manager exited non-zero","error":"no matches for kind \"ServiceBinding\" in version \"operators.coreos.com/v1alpha1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/mmelko/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/apache/camel-k/pkg/cmd/operator.Run\n\t/home/mmelko/RH_WORK/ENG/camel-k/pkg/cmd/operator/operator.go:168\ngithub.com/apache/camel-k/pkg/cmd.(*operatorCmdOptions).run\n\t/home/mmelko/RH_WORK/ENG/camel-k/pkg/cmd/operator.go:51\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/mmelko/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/mmelko/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/mmelko/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887\nmain.main\n\t/home/mmelko/RH_WORK/ENG/camel-k/cmd/kamel/main.go:48\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:204"}

Process finished with exit code 1
@mmelko mmelko changed the title ServiceBinding kind not installed in CRC ServiceBinding kind not installed Feb 10, 2021
@astefanutti astefanutti added the kind/bug Something isn't working label Feb 10, 2021
@astefanutti astefanutti changed the title ServiceBinding kind not installed ServiceBinding kind not installed Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants