[ https://issues.apache.org/jira/browse/FLINK-36332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Barker updated FLINK-36332: ------------------------------- Description: We are looking to produce a build of the Flink Kubernetes operator however for internal policy reasons we need to exclude the Kotlin dependencies. Kotlin is a transitive dependency of OkHttp and now that [FLINK-36031|https://issues.apache.org/jira/browse/FLINK-36031] has been merged OkHttp is entirely optional (but a sensible default). The Fabric8 project explicitly support supplying alternative http clients (see [what-artifacts-should-my-project-depend-on|https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#what-artifacts-should-my-project-depend-on]) and the common pattern as demonstrated by the [java-operator-sdk|https://github.com/operator-framework/java-operator-sdk/blob/24494cb6342a5c75dff9a6962156ff488ad0c818/pom.xml#L44] is to define a property with the name of the client implementation. was: We are looking to produce a build of the Flink Kubernetes operator however for internal policy reasons we need to exclude the Kotlin dependencies. Kotlin is a transitive dependency of OkHttp and now that [FLINK-36031|https://issues.apache.org/jira/browse/FLINK-36031] has been merged OkHttp is entirely optional (but a sensible default). The Fabric8 project explicitly support supplying alternative http clients (see https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#what-artifacts-should-my-project-depend-on) and the common pattern as demonstrated by the [java-operator-sdk|https://github.com/operator-framework/java-operator-sdk/blob/24494cb6342a5c75dff9a6962156ff488ad0c818/pom.xml#L44] is to define a property with the name of the client implementation. > Allow the Operator http client to be customised > ----------------------------------------------- > > Key: FLINK-36332 > URL: https://issues.apache.org/jira/browse/FLINK-36332 > Project: Flink > Issue Type: Improvement > Reporter: Sam Barker > Priority: Minor > > We are looking to produce a build of the Flink Kubernetes operator however > for internal policy reasons we need to exclude the Kotlin dependencies. > Kotlin is a transitive dependency of OkHttp and now that > [FLINK-36031|https://issues.apache.org/jira/browse/FLINK-36031] has been > merged OkHttp is entirely optional (but a sensible default). The Fabric8 > project explicitly support supplying alternative http clients (see > [what-artifacts-should-my-project-depend-on|https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#what-artifacts-should-my-project-depend-on]) > and the common pattern as demonstrated by the > [java-operator-sdk|https://github.com/operator-framework/java-operator-sdk/blob/24494cb6342a5c75dff9a6962156ff488ad0c818/pom.xml#L44] > is to define a property with the name of the client implementation. -- This message was sent by Atlassian Jira (v8.20.10#820010)