helm-charts
helm-charts copied to clipboard
Set automountServiceAccountToken when service account is disabled
Proposal
When setting serviceAccount.created: false, the deployment still includes spec.template.spec.automountServiceAccountToken: true. Security scanning tools like ARMOsec see this as a security risk.
When serviceAccount.created: false, we should set spec.template.spec.automountServiceAccountToken: false
References
No response
@ZeynelKoca Thanks for raising this. Can you please provide PR?
Hello, I created a MR for this !69.