[ https://issues.apache.org/jira/browse/CAMEL-21770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928826#comment-17928826 ]
Andrea Cosentino commented on CAMEL-21770: ------------------------------------------ We could check if it's autowired or not. > camel-kubernetes: Autowired KubernetesClient should not be closed > ----------------------------------------------------------------- > > Key: CAMEL-21770 > URL: https://issues.apache.org/jira/browse/CAMEL-21770 > Project: Camel > Issue Type: Bug > Components: camel-kubernetes > Reporter: James Netherton > Priority: Minor > > There's a problem with context reloading triggered from k8s secrets when > using an autowired KubernetesClient. > Both SecretsReloadTriggerTask and AbstractKubernetesEndpoint close the > KubernetesClient. When routes get refreshed, the closed client is wired back > in an unusable state. -- This message was sent by Atlassian Jira (v8.20.10#820010)