-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
None
-
False
-
False
-
%
-
Todo
-
Undefined
-
I am using global Camel-K operator from namespace without IntegrationPlatform.
kamel install --global -n openshift-operators
oc new-project jbouska
kamel init Java.java
kamel run Java.java
I can see error in the operator log
0009:build (default) @ camel-k-integration --- camel-k-operator-794cdf44fd-mkqrt camel-k-operator {"level":"error","ts":1627998870.7420714,"logger":"controller-runtime.manager.controller.integration-controller","msg":"Reconciler error","name":"java","namespace":"jbouska","error":"error executing post actions: Object 'Kind' is missing in 'unstructured object has no kind'","errorVerbose":"Object 'Kind' is missing in 'unstructured object has no kind'\nerror executing post actions\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:54\ngithub.com/apache/camel-k/pkg/controller/integration.(*deployAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/deploy.go:56\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:325\ngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:71\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tgithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:263\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tgithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1\n\tgithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:198\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:99\nruntime.goexit\n\truntime/asm_amd64.s:1357","stacktrace":"github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tgithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1\n\tgithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:198\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\tgithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:99"}
and from the user namespace
oc get pods NAME READY STATUS RESTARTS AGE java-79cb4f8458-44rt9 1/1 Running 0 30m kamel get No IntegrationPlatform resource in jbouska namespace NAME PHASE KIT java Deploying openshift-operators/kit-c44kj9b0kge1tgen85q0