Open MarkPare opened 1 year ago
Same issue here!! Do you have a time limit to fix the issue ?
Same here
Same here!
For anyone running into this issue and needing a fix asap, I had some issues when testing other kubectl github actions, but this works for AWS EKS:
curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.24.13/2023-05-11/bin/linux/amd64/kubectl
chmod +x ./kubectl
kubectl version --short --client
echo ${{ secrets.KUBE_CONFIG_DATA }} | base64 --decode > kube_config.yaml
kubectl apply -f my-deployment.yaml --kubeconfig kube_config.yaml
Same here
i've forked the repo and removed the aws dependency as we were not using it.
if it's helpful for anybody NOT USING EKS you can find it here: https://github.com/marketplace/actions/kubernetes-kubectl-action-without-aws
Hi @nacholemmo @ivilla @allancarvalho @VictorMessina @VictorMessina - Please try this and see if that works - https://github.com/marketplace/actions/kubernetes-action-with-python-2-x-fixes Tested and reported working in EKS.
Same Here
Same issue here but the fix from @davi020 has worked for us š„
Hi @nacholemmo @ivilla @allancarvalho @VictorMessina @VictorMessina - Please try this and see if that works - https://github.com/marketplace/actions/kubernetes-action-with-python-2-x-fixes Tested and reported working in EKS.
HI, @davi020 , I have tried to user your version, it passed the previous error, but now I get error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
which, after googling a bit seems to be connected with kubectl version issues, any idea?
@nenadz-qsense I had the same issue at first. You'll need to update that line/value in your .kube/config file to this
client.authentication.k8s.io/v1beta1
Then base64 encode it again and update your secret. Worked perfectly for me after that š Probably worth updating any versions of aws cli/kubectl locally/elsewhere too for consistency (if they are supported by your Kubernetes version/s)
Hi @nenadz-qsense - Hope you fixed your issue with the solution @lomby provided.
It works.
Thanks both @lomby @davi020
Currently I'm seeing this action fail with an error (see logs below).
I believe problem comes from this recent change in awscli package that removes support for python 2.7.
Wondering if/when issue will be corrected here. This is blocking my deployments so I need a fix asap.