Skip to content

Add support for disabling ServiceAccount token automounting (automountServiceAccountToken=false) via Helm values #1974

@iusergii

Description

@iusergii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Closed / Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions