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?
- 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.