The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Rutger van Bruggen
August 3, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Rutger van Bruggen
August 3, 2020

- 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.

TAGS
AUG Leaders

Atlassian Community Events