You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using the leader election library (org.springframework.cloud:spring-cloud-kubernetes-fabric8-leader:3.1.2) but after upgrading from Spring Boot 3.2.6 to 3.3.0 we ran into this issue:
I.e. it seems like the spring.cloud.kubernetes.leader.namespace property is now also a required property besides spring.cloud.kubernetes.leader.config-map-name. This is not clear in the documentation. I suspect that either this is a bug in the code or that something should be added to the documentation.
The text was updated successfully, but these errors were encountered:
johanhaleby
changed the title
Defining namespace explicitly is required after Spring Boot upgrade
Defining namespace explicitly is required after Spring Boot upgrade of leader election
Jun 12, 2024
johanhaleby
changed the title
Defining namespace explicitly is required after Spring Boot upgrade of leader election
Defining namespace explicitly is required after Spring Boot upgrade for leader election
Jun 12, 2024
We're using the leader election library (
org.springframework.cloud:spring-cloud-kubernetes-fabric8-leader:3.1.2
) but after upgrading from Spring Boot 3.2.6 to 3.3.0 we ran into this issue:What I had to do was to explicitly add the namespace property to the config:
I.e. it seems like the
spring.cloud.kubernetes.leader.namespace
property is now also a required property besidesspring.cloud.kubernetes.leader.config-map-name
. This is not clear in the documentation. I suspect that either this is a bug in the code or that something should be added to the documentation.The text was updated successfully, but these errors were encountered: