|
@@ -54,7 +54,7 @@ public class K8sApiConfiguration {
|
|
|
this.watchAppsV1Api = new AppsV1Api(watchApiClient);
|
|
this.watchAppsV1Api = new AppsV1Api(watchApiClient);
|
|
|
|
|
|
|
|
// fabric client
|
|
// fabric client
|
|
|
- io.fabric8.kubernetes.client.Config config = new ConfigBuilder().withMasterUrl(k8s.getApiServer()).withOauthToken(k8s.getToken()).withTrustCerts(k8s.isValidateSSL()).build();
|
|
|
|
|
|
|
+ io.fabric8.kubernetes.client.Config config = new ConfigBuilder().withMasterUrl(k8s.getApiServer()).withOauthToken(k8s.getToken()).withTrustCerts(!k8s.isValidateSSL()).build();
|
|
|
this.fabricK8sClient = new DefaultKubernetesClient(config);
|
|
this.fabricK8sClient = new DefaultKubernetesClient(config);
|
|
|
}
|
|
}
|
|
|
|
|
|