formatting
This commit is contained in:
@@ -76,10 +76,12 @@ public class KubernetesClientEventBasedConfigMapChangeDetector extends Configura
|
||||
super(environment, properties, strategy);
|
||||
this.propertySourceLocator = propertySourceLocator;
|
||||
this.coreV1Api = coreV1Api;
|
||||
// We need to pass an APIClient to the SharedInformerFactory because if we use the default
|
||||
// constructor it will use the configured default APIClient but that may not contain
|
||||
// We need to pass an APIClient to the SharedInformerFactory because if we use the
|
||||
// default
|
||||
// constructor it will use the configured default APIClient but that may not
|
||||
// contain
|
||||
// an APIClient configured within the cluster and does not contain the necessary
|
||||
// certificate authorities for the cluster. This results in SSL errors.
|
||||
// certificate authorities for the cluster. This results in SSL errors.
|
||||
// See https://github.com/spring-cloud/spring-cloud-kubernetes/issues/885
|
||||
this.factory = new SharedInformerFactory(createApiClientForInformerClient());
|
||||
this.kubernetesNamespaceProvider = kubernetesNamespaceProvider;
|
||||
|
||||
@@ -74,10 +74,12 @@ public class KubernetesClientEventBasedSecretsChangeDetector extends Configurati
|
||||
KubernetesNamespaceProvider kubernetesNamespaceProvider) {
|
||||
super(environment, properties, strategy);
|
||||
this.propertySourceLocator = propertySourceLocator;
|
||||
// We need to pass an APIClient to the SharedInformerFactory because if we use the default
|
||||
// constructor it will use the configured default APIClient but that may not contain
|
||||
// We need to pass an APIClient to the SharedInformerFactory because if we use the
|
||||
// default
|
||||
// constructor it will use the configured default APIClient but that may not
|
||||
// contain
|
||||
// an APIClient configured within the cluster and does not contain the necessary
|
||||
// certificate authorities for the cluster. This results in SSL errors.
|
||||
// certificate authorities for the cluster. This results in SSL errors.
|
||||
// See https://github.com/spring-cloud/spring-cloud-kubernetes/issues/885
|
||||
this.factory = new SharedInformerFactory(createApiClientForInformerClient());
|
||||
this.coreV1Api = coreV1Api;
|
||||
|
||||
Reference in New Issue
Block a user