aws-efs-csi-driver icon indicating copy to clipboard operation
aws-efs-csi-driver copied to clipboard

Use secret or env to pass AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in non-eks cluster to setup the driver permission

Open fenwuyaoji opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. I'm always frustrated when I try to deploy efs-csi to a self-managed k8s cluster. So far there is one way to grant driver IAM permission by using an IAM instance profile. However, I have no permission to set this profile so I wanna to use my AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as the credentials.

Describe the solution you'd like in detail What I have tried is to pass AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as env parameters for containers efs-plugin and csi-provisioner (both in controller and ds), I'm not sure this is the right way to achieve my goal, but it works.

Describe alternatives you've considered If I'm doing it the right way, I'd like to create PR and modify the chart files to support this feature. Or, make some changes to let csi support a secret like what IAM ARN is.

Additional context No

fenwuyaoji avatar Nov 01 '23 09:11 fenwuyaoji

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jan 31 '24 13:01 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Mar 01 '24 14:03 k8s-triage-robot

已收到您的邮件,我将及时查看并回复,谢谢                                                                                                                     王鑫

fenwuyaoji avatar Mar 01 '24 14:03 fenwuyaoji

Second this, I have to use a non-eks cluster but I want to use shared filesystems with the EFS driver (rather than just non-shared EBS filesystems)

mjj29 avatar Mar 22 '24 10:03 mjj29

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Apr 21 '24 11:04 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Apr 21 '24 11:04 k8s-ci-robot