Kubernetes - Disable API Access from Pod
This article will be short, it shows an example of how to disable a pods access to the Kubernetes API. By setting automountServiceAccountToken: false
in the template spec for a Deployment you can disable API access to Kubernetes from the container.