Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to deploy the aws-efs-csi-driver using the eks kubectl pipe?

Hi,

 

I'm trying to deploy the aws efs driver using the eks kubectl pipe

 

The kubectl command is:

kubectl apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.0"

But I'm having issues with translating that to the kubectl eks pipe:

I tried things like this:

 - echo "Deploy EFS Driver"
- pipe: atlassian/aws-eks-kubectl-run:1.2.4
variables:
CLUSTER_NAME: "$name-$environment"
KUBECTL_COMMAND: " "
KUBECTL_ARGS: 'apply -k "github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.0"'  

 but that is not allowed because the kubectl command is empty. If i use apply in the KUBECTL_COMMAND parameter I have to add a RESOURCE_PATH parameter. Problem is that the RESOURCE_PATH is also not allowed to be empty.

 

How can I deploy this driver using the kubectl eks pipe?

 

1 answer

1 accepted

1 vote
Answer accepted

- pipe: atlassian/aws-eks-kubectl-run:1.2.4
variables:
CLUSTER_NAME: "$name-$environment"
KUBECTL_COMMAND: "apply -k github.com/kubernetes-sigs/aws-efs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-1.0"

Solved it using above statement. Hopefully this can help other people trying to deploy the same driver.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

66 views 4 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you