spring-cloud-kubernetes icon indicating copy to clipboard operation
spring-cloud-kubernetes copied to clipboard

spring.cloud.kubernetes.client.namespace

Open Jacuo opened this issue 3 years ago • 3 comments

Describe the bug Kubernetes client doesn't respect spring.cloud.kubernetes.client.namespace property I have configured property spring.cloud.kubernetes.client.namespace , but when I log kubernetesDiscoveryClient.getClient().getNamespace() it logs not configured namespace, but namespace in which application pod exists To be more confused documentation https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/appendix.html shows default value for spring.cloud.kubernetes.client.namespace "true" (?) I am using org.springframework.cloud:spring-cloud-starter-parent:2020.0.3

Jacuo avatar May 26 '22 10:05 Jacuo

Can you please try and reproduce this with Spring Cloud 2021.0.2?

ryanjbaxter avatar May 26 '22 12:05 ryanjbaxter

It is not so easy to change version to 2021 release train. I will try Anyway on 2020.0.5 it is the same result

Jacuo avatar May 26 '22 15:05 Jacuo

Support for 2020.0.x ended recently so you will need to upgrade

ryanjbaxter avatar May 26 '22 15:05 ryanjbaxter

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-cloud-issues avatar Aug 24 '22 23:08 spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-cloud-issues avatar Aug 31 '22 23:08 spring-cloud-issues