Skip to content

Commit

Permalink
Update Fabric8: Kubernetes Client to most recent version 5.12.1
Browse files Browse the repository at this point in the history
All changes: fabric8io/kubernetes-client@v5.10.0...v5.12.1

We need to bump the Kubernetes Client to the most recent version to support gRPC actions (see dekorateio#857)
  • Loading branch information
Sgitario committed Feb 28, 2022
1 parent a8d832c commit 6659baf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<ServiceMonitor, ServiceMonitorList, Resource<ServiceMonitor>> {

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) {
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<version.commons-compress>1.21</version.commons-compress>
<version.jansi>1.18</version.jansi>
<version.jackson>2.12.3</version.jackson>
<version.kubernetes-client>5.10.0</version.kubernetes-client>
<version.kubernetes-client>5.12.1</version.kubernetes-client>
<version.sundrio>0.60.0</version.sundrio>
<version.jayway.jsonpath>2.6.0</version.jayway.jsonpath>

Expand All @@ -83,7 +83,6 @@
<version.formatter-maven-plugin>2.12.2</version.formatter-maven-plugin>
<version.impsort-maven-plugin>1.6.2</version.impsort-maven-plugin>


<!-- Release Plugins -->
<version.maven-gpg-plugin>1.6</version.maven-gpg-plugin>
<version.maven-enforcer-plugin>1.3.1</version.maven-enforcer-plugin>
Expand Down

0 comments on commit 6659baf

Please sign in to comment.