Skip to content

Commit

Permalink
Merge pull request #929 from mskanth972/linkupdate
Browse files Browse the repository at this point in the history
Added a link which references the file on how to add the IAM policy to DNS issue
  • Loading branch information
k8s-ci-robot authored Feb 22, 2023
2 parents 5579471 + a383c53 commit e5e664f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Before the example, you need to:
* [Use Access Points](../examples/kubernetes/access_points/README.md)

## Using botocore to retrieve mount target ip address when dns name cannot be resolved
* EFS CSI driver by default comes with botocore library installed, which can resolve the DNS issue by providing a way to retrieve the IP address of the EFS mount targets but should allow the ```elasticfilesystem:DescribeMountTargets``` and ```ec2:DescribeAvailabilityZones``` action in your policy attached to the IAM role you attached to the instance.
* EFS CSI driver by default comes with botocore library installed, which can resolve the DNS issue by providing a way to retrieve the IP address of the EFS mount targets but should allow the ```elasticfilesystem:DescribeMountTargets``` and ```ec2:DescribeAvailabilityZones``` action in your policy attached to the IAM role you attached to the instance, for example adding the policy in this manner, one can refer to the policy [here](https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/docs/iam-policy-example.json#L9-L10).

## Development
Please go through [CSI Spec](https://github.com/container-storage-interface/spec/blob/master/spec.md) and [Kubernetes CSI Developer Documentation](https://kubernetes-csi.github.io/docs) to get some basic understanding of CSI driver before you start.
Expand Down

0 comments on commit e5e664f

Please sign in to comment.