Skip to content

Commit a369cec

Browse files
committed
chore(chart): improve doc regarding eks iam roles for service accounts
1 parent be19240 commit a369cec

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

charts/core-dump-handler/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ helm install core-dump-handler . --create-namespace --namespace observe \
3636
<tr>
3737
<td>AWS</td><td>EKS</td><td><a href="values.aws.yaml">values.aws.yaml</a></td>
3838
</tr>
39+
<tr>
40+
<td>AWS</td><td>EKS with IAM roles for service accounts</td><td><a href="values.aws.sts.yaml">values.aws.yaml</a></td>
41+
</tr>
3942
<tr>
4043
<td>AWS</td><td>ROSA</td><td><a href="values.openshift.yaml">values.openshift.yaml</a></td>
4144
</tr>
@@ -140,6 +143,14 @@ Example S3 policy:
140143
}
141144
```
142145

146+
### EKS setup with IAM roles for service accounts
147+
148+
This allows core-dump-handler to automatically assume the correct role with permissions on the S3 bucket without providing fixed credentials in the secret.
149+
150+
See [this guide](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html).
151+
152+
[Example of `values.yaml`](values.aws.sts.yaml)
153+
143154
### Environment Variables
144155

145156
The agent pod has the following environment variables and these are all set by the chart but included here for informational purposes:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# AWS requires a crio client to be copied to the server
2+
daemonset:
3+
includeCrioExe: true
4+
vendor: rhel7 # EKS EC2 images have an old libc=2.26
5+
6+
serviceAccount:
7+
annotations:
8+
# See https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html
9+
eks.amazonaws.com/role-arn: arn:aws:iam::123456789000:role/iam-role-name-here

0 commit comments

Comments
 (0)