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
If I remove secrets from the resources, the API call should fail, which is expected. What is not expected is a lack of a proper message explaining why that happens. At the moment, all we get is:
listing and watching...
2024-11-28T07:58:32.154Z ERROR 1 --- [spring-cloud-kubernetes-configuration-watcher] [dels.V1Secret-1] i.k.c.informer.cache.ReflectorRunnable : class io.kubernetes.client.openapi.models.V1Secret#Reflec
tor loop failed unexpectedly
io.kubernetes.client.openapi.ApiException:
at io.kubernetes.client.openapi.ApiClient.handleResponse(ApiClient.java:989) ~[client-java-api-19.0.1.jar:na]
at io.kubernetes.client.openapi.ApiClient.execute(ApiClient.java:905) ~[client-java-api-19.0.1.jar:na]
at io.kubernetes.client.informer.SharedInformerFactory$1.list(SharedInformerFactory.java:271) ~[client-java-19.0.1.jar:na]
at io.kubernetes.client.informer.cache.ReflectorRunnable.run(ReflectorRunnable.java:91) ~[client-java-19.0.1.jar:na]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
and that's it (no cause is provided), which makes it close to impossible for users to diagnose the issue.
The text was updated successfully, but these errors were encountered:
In spring-cloud-kubernetes, we are currently using version
19.0.1
of this library.We have some code that looks like this:
This works just fine when RBAC are correctly set-up, in our case :
If I remove
secrets
from theresources
, the API call should fail, which is expected. What is not expected is a lack of a proper message explaining why that happens. At the moment, all we get is:and that's it (no cause is provided), which makes it close to impossible for users to diagnose the issue.
The text was updated successfully, but these errors were encountered: