podman kube generate
shall include spec.automountServiceAccountToken: false
#15243
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
kube
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Podman containers are supposed to work equally good, when moved to Kubernetes. Podman does not use Kubertenes’ Service Account. Therefore once a pod is moved from Podman to Kuberenes it will not need its service account.
To disable implicitly mounting the service account in the pod, which does eat resources, add
to the output of
podman kube generate
.The text was updated successfully, but these errors were encountered: