The previous code was using List.of(...) with value coming from serviceLister that can be null and obviously it's not possible with factory List.of() leading to NPE.
2022.0.x contains also mandatory features like being able to discover pod the HTTPS connecto.
Describe the bug 2022.0.X contains a huge regression since latest 2021.0.X With 2022 version you cannot used anymore a CompositeDiscoveryClient with a KubernetesInformerDiscoveryClient. that has been fixed into this commit: https://github.com/spring-cloud/spring-cloud-kubernetes/commit/d9c458347dcf38b1d3cc701cb4968ee0061de69c
The previous code was using List.of(...) with value coming from serviceLister that can be null and obviously it's not possible with factory List.of() leading to NPE.
2022.0.x contains also mandatory features like being able to discover pod the HTTPS connecto.
Thx Christophe (aka ouaibsky)
Sample