lburgazzoli opened a new issue, #3833:
URL: https://github.com/apache/camel-k/issues/3833
The GC traits fails because the operator endpoints.submariner.io is
forbidden:
```
{"level":"error","ts":1669081584.9686606,"logger":"controller.integration-controller","msg":"Reconciler
error","reconciler group":"camel.apache.org","reconciler
kind":"Integration","name":"mctr-cdu2iv5ckvjrfn0vgk70","namespace":"foo-ns-cchdudibk0a2ics5ql10","error":"error
executing post actions: cannot list child resources: endpoints.submariner.io
is forbidden: User \"system:serviceaccount:foo-ns:camel-k-operator\" cannot
list resource \"endpoints\" in API group \"submariner.io\" in the namespace
\"foo-ns-cchdudibk0a2ics5ql10\"","errorVerbose":"endpoints.submariner.io is
forbidden: User \"system:serviceaccount:foo-ns:camel-k-operator\" cannot list
resource \"endpoints\" in API group \"submariner.io\" in the namespace
\"foo-ns-cchdudibk0a2ics5ql10\"\ncannot list child
resources\ngithub.com/apache/camel-k/pkg/trait.(*gcTrait).deleteEachOf\n\tgithub.com/apache/camel-k/pkg/trait/gc.go:146\ngithub.com/apache/camel-k/pkg/trait.(*gcTrait).garbageCollectResources\n\tgithub.com/apache/came
l-k/pkg/trait/gc.go:129\ngithub.com/apache/camel-k/pkg/trait.(*gcTrait).Apply.func1\n\tgithub.com/apache/camel-k/pkg/trait/gc.go:93\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:64\ngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:121\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:344\ngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:114\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/[email protected]/pkg/in
ternal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:227\nruntime.goexit\n\truntime/asm_amd64.s:1581\nerror
executing post
actions\ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:66\ngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:121\ngithub.com/apache/camel-k/pkg/controller/integration.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]