apache / apache/camel-quarkus

Quarkus Kubernetes client bean is always injected into the Kubernetes component

Open
#6,974 1 comment 0 reactions 0 assignees View on GitHub
area/kubernetes bug
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 20h
Merged PRs (30d)
114

Description

### Bug description

The `quarkus-kubernetes-client` extension produces a `KubernetesClient` which will always get autowired into the Camel component.

The downside of this is that none of the Camel component or endpoint options will have any effect by default, unless autowiring is disabled.

Potentially this is confusing UX as folks may not know that the Quarkus extension configuration is taking precedence over Camel. It also means that the Quarkus `KubernetesClient` bean is also likely automatically used by other extensions like `master` & `kubernetes-cluster-service`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the quarkus-kubernetes-client extension produces a KubernetesClient and how the Camel Kubernetes component autowires it. Review the component and endpoint options alongside the interactions with master and kubernetes-cluster-service. Done means the intended precedence is defined and verified so component or endpoint options are not unexpectedly overridden by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.