Skip to content

Support for IAM Roles for Service Accounts for EKS #1314

Closed Answered by pepov
sudip-moengage asked this question in Q&A

You must be logged in to vote

Although I don't have a complete example to show you, but the conclusion is, that yes it should work.

Once you go through the steps of setting up IAM Roles for Service Accounts there is one item that needs to be done on the operator side, which is annotating the fluentd service account.

For that you need a config similar to this in your logging resource:

spec:
  fluentd:
    serviceAccount:
      metadata:
        annotations:
          eks.amazonaws.com/role-arn=arn:aws:iam::$account_id:role/my-role

This will merge the above annotation into the existing ones.

Replies: 12 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@pepov

Answer selected by csatib02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
7 participants
Converted from issue

This discussion was converted from issue #254 on April 24, 2023 06:36.