Recently I got this warning message, when I have builded quarkus maven project. I have tested with several later versions and I think this has to be something local in my environment.
[WARNING] Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring
And this result in a build failure ...
[error]: Build step io.quarkus.kubernetes.deployment.KubernetesDeployer#deploy threw an exception: java.lang.RuntimeException:
Although Kubernetes deployment was requested, it however cannot take place, because there was an error during communication with the API Server at https://kubernetes.default.svc/
Any ideas what could be wrong?