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

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events