Bumping versions

This commit is contained in:
buildmaster
2021-11-10 19:41:16 +00:00
parent 94f9fdc336
commit 14729f3c72
3 changed files with 14 additions and 10 deletions

View File

@@ -41,6 +41,7 @@
|spring.cloud.kubernetes.client.service-account-namespace-path | `/var/run/secrets/kubernetes.io/serviceaccount/namespace` |
|spring.cloud.kubernetes.client.trust-certs | |
|spring.cloud.kubernetes.client.trustCerts | `false` | Kubernetes API Trust Certificates
|spring.cloud.kubernetes.client.user-agent | `Spring-Cloud-Kubernetes-Application` |
|spring.cloud.kubernetes.client.username | | Kubernetes API Username
|spring.cloud.kubernetes.client.watch-reconnect-interval | |
|spring.cloud.kubernetes.client.watch-reconnect-limit | |
@@ -100,10 +101,9 @@
|spring.cloud.kubernetes.secrets.labels | |
|spring.cloud.kubernetes.secrets.name | |
|spring.cloud.kubernetes.secrets.namespace | |
|spring.cloud.kubernetes.secrets.paths | |
|spring.cloud.kubernetes.secrets.paths | |
|spring.cloud.kubernetes.secrets.retry | |
|spring.cloud.kubernetes.secrets.sources | |
|spring.cloud.kubernetes.secrets.use-name-as-prefix | `false` |
|spring.cloud.kubernetes.userAgent | `Spring-Cloud-Kubernetes-Application` | `User-Agent` header
|spring.cloud.kubernetes.secrets.use-name-as-prefix | `false` |
|===
|===

View File

@@ -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;

View File

@@ -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;