Describe the bug
In version 2.1.x of the Helm chart, the ServiceAccount resource defined in templates/rbac.yaml ignores the serviceAccount.annotations value.
In version 1.x, the template included a block to render {{ .Values.serviceAccount.annotations }}. In the refactor to version 2.x, this block appears to have been omitted from the template, making it impossible to configure IRSA (IAM Roles for Service Accounts) via standard Helm values.
To Reproduce
Steps to reproduce the behavior:
-
Render the rbac.yaml template specifically, attempting to inject a test annotation:
helm template test aws-secrets-manager/secrets-store-csi-driver-provider-aws \
--version 2.1.1 \
--set serviceAccount.annotations.test-annotation=true \
--show-only templates/rbac.yaml
-
Inspect the output.
Expected behavior
The annotations defined in values.yaml should be rendered onto the ServiceAccount. This is required to support IRSA (IAM Roles for Service Accounts) for users who have not yet migrated to EKS Pod Identity (or cannot migrate due to Fargate restrictions).
Environment
- Chart Version: 2.1.0 / 2.1.1
- Kubernetes Version: (Any)
Additional context
This regression forces users to use sidecar patching or Terraform to inject the IRSA role ARN, breaking standard GitOps workflows where the chart is expected to manage the ServiceAccount configuration.
Describe the bug
In version 2.1.x of the Helm chart, the
ServiceAccountresource defined intemplates/rbac.yamlignores theserviceAccount.annotationsvalue.In version 1.x, the template included a block to render
{{ .Values.serviceAccount.annotations }}. In the refactor to version 2.x, this block appears to have been omitted from the template, making it impossible to configure IRSA (IAM Roles for Service Accounts) via standard Helm values.To Reproduce
Steps to reproduce the behavior:
Render the
rbac.yamltemplate specifically, attempting to inject a test annotation:helm template test aws-secrets-manager/secrets-store-csi-driver-provider-aws \ --version 2.1.1 \ --set serviceAccount.annotations.test-annotation=true \ --show-only templates/rbac.yamlInspect the output.
Expected: The
metadatablock should include the injected annotation:Actual: The
annotationsblock is completely missing from the rendered output:Expected behavior
The annotations defined in
values.yamlshould be rendered onto the ServiceAccount. This is required to support IRSA (IAM Roles for Service Accounts) for users who have not yet migrated to EKS Pod Identity (or cannot migrate due to Fargate restrictions).Environment
Additional context
This regression forces users to use sidecar patching or Terraform to inject the IRSA role ARN, breaking standard GitOps workflows where the chart is expected to manage the ServiceAccount configuration.