Skip to content

Commit

Permalink
Missing node.serviceAccount.annotations in values.yaml (#217)
Browse files Browse the repository at this point in the history
* Update values.yaml regd #564

* Update values.yaml regd #564

* SA EKS IAM role annotation in install.md

* Update docs/install.md

Co-authored-by: Burak <unexge@gmail.com>

---------

Co-authored-by: Burak <unexge@gmail.com>
  • Loading branch information
netikras and unexge committed Jul 11, 2024
1 parent c357436 commit 985562f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/aws-mountpoint-s3-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ node:
# Specifies whether a service account should be created
create: true
name: s3-csi-driver-sa
# Specify the SA's role ARN if running in EKS. Otherwise, the the driver will be "Forbidden" from accessing s3 buckets
# annotations:
# "eks.amazonaws.com/role-arn": ""
nodeSelector: {}
resources:
requests:
Expand Down
10 changes: 10 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ helm upgrade --install aws-mountpoint-s3-csi-driver \
aws-mountpoint-s3-csi-driver/aws-mountpoint-s3-csi-driver
```

> [!NOTE]
> For EKS users, you need to pass your Role ARN here if you're using IAM roles for service accounts:
>
> ```bash
> $ helm upgrade --install aws-mountpoint-s3-csi-driver \
> --namespace kube-system \
> --set node.serviceAccount.annotations."eks\.amazonaws\.com/role-arn"="arn:aws:iam::account:role/csi-driver-role-name" \
> aws-mountpoint-s3-csi-driver/aws-mountpoint-s3-csi-driver
> ```
Review the [configuration values](https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/charts/aws-mountpoint-s3-csi-driver/values.yaml) for the Helm chart.

#### Once the driver has been deployed, verify the pods are running:
Expand Down

0 comments on commit 985562f

Please sign in to comment.