Skip to content

(aws-eks): It should be possible to pass annotations to service accounts #19607

@markussiebert

Description

@markussiebert

Description

I need to add annotations and labels to ServiceAccounts created via cdk

Use Case

eks changed the behaviour of the service accounts for pods, and one of my applications stopped working.

https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html

and i temporarly (until this is fixed in the application) have to annotate the ServiceAccount with:

eks.amazonaws.com/sts-regional-endpoints: false

in order to enforce the old behaviour. I can imagine more annotations, or labels...

Proposed Solution

introduce properties for annotations and labels

Other information

no

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes Serviceeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.in-progressThis issue is being actively worked on.p1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions