I'm using a vanilla minikube environment.
I'm not specifying any service account-related instructions in my bare-bones simple Pod .yaml
file.
Inside a deployed Pod, /var/run/secrets/kubernetes.io/serviceaccount/token
is empty. What are the possible causes for this?
As mentioned in the docs
So double check your pod file and check your ServiceAccount configuration with
kubectl describe serviceaccount build-robot
to see if you are disabling the automount.