diff --git a/annotations/prometheus-annotations/src/main/java/io/dekorate/prometheus/client/dsl/internal/ServiceMonitorOperationsImpl.java b/annotations/prometheus-annotations/src/main/java/io/dekorate/prometheus/client/dsl/internal/ServiceMonitorOperationsImpl.java index 7f15e3b83..49e7aa36d 100644 --- a/annotations/prometheus-annotations/src/main/java/io/dekorate/prometheus/client/dsl/internal/ServiceMonitorOperationsImpl.java +++ b/annotations/prometheus-annotations/src/main/java/io/dekorate/prometheus/client/dsl/internal/ServiceMonitorOperationsImpl.java @@ -17,17 +17,17 @@ import io.dekorate.prometheus.model.ServiceMonitor; import io.dekorate.prometheus.model.ServiceMonitorList; -import io.fabric8.kubernetes.client.Config; +import io.fabric8.kubernetes.client.ClientContext; import io.fabric8.kubernetes.client.dsl.Resource; import io.fabric8.kubernetes.client.dsl.base.HasMetadataOperation; import io.fabric8.kubernetes.client.dsl.base.OperationContext; -import okhttp3.OkHttpClient; +import io.fabric8.kubernetes.client.dsl.internal.HasMetadataOperationsImpl; public class ServiceMonitorOperationsImpl extends HasMetadataOperation> { - public ServiceMonitorOperationsImpl(OkHttpClient client, Config config) { - this(new OperationContext().withOkhttpClient(client).withConfig(config)); + public ServiceMonitorOperationsImpl(ClientContext clientContext) { + this(HasMetadataOperationsImpl.defaultContext(clientContext)); } public ServiceMonitorOperationsImpl(OperationContext context) { diff --git a/pom.xml b/pom.xml index 21041ae6d..68faad234 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 1.21 1.18 2.12.3 - 5.10.0 + 5.12.1 0.60.0 2.6.0 @@ -83,7 +83,6 @@ 2.12.2 1.6.2 - 1.6 1.3.1