Describe the solution you'd like
We are implementing Kubernetes security hardening (CISA/NSA baseline + Microsoft Defender severity model).
One of the Critical controls is to disable automounting of API credentials (ServiceAccount tokens) for workloads that do not require Kubernetes API access.
Currently, the csi-secrets-store-provider-azure Helm chart does not expose a way to set:
-
spec.template.spec.automountServiceAccountToken: false (PodSpec), and/or
-
automountServiceAccountToken: false on the ServiceAccount resource
Because of that, we cannot comply with cluster policy enforcement without applying out-of-band patches.