Closed luisvillalobossalgado1987 closed 2 years ago
It seems that the aws-cli update the Kubernetes client authentication API version.
https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst#1209
The workaround is to lock the awscli version to 1.20.8.
RUN pip install 'awscli==1.20.8'
Hey all, thanks for bringing this up!
I'll take a look later in the week and issue a new version. From my PoV I see two options:
1.20.8
(quicker fix)PRs are also welcome!
@benjamin658 can you create a pull request as a hotfix?
Hi @koslib, Can you create a hotfix with the quicker fix ?
Here's a PR if someone wants to accept and merge: https://github.com/koslib/helm-eks-action/pull/20
@imranq2 @plorencrstit, I forked a repository and bump cli versions.
https://github.com/BeeInventor/helm-eks-action
You can use it before the main repository being upgraded.
Hi @koslib, I created a PR, and it works fine in our CD pipeline.
Hey all, thanks for bringing this up!
I'll take a look later in the week and issue a new version. From my PoV I see two options:
- lock awscli to
1.20.8
(quicker fix)- allow the user to select the kubectl version they want (harder but covers all cases)
PRs are also welcome!
In my personal perspective, the action can separate into different tags to support multiple Kubernetes versions. Since there are many kubectl versions that address specific Kubernetes versions.
https://docs.aws.amazon.com/zh_tw/eks/latest/userguide/install-kubectl.html
Hello everyone, I am having the following error:
Error: Kubernetes cluster unreachable: Get "https://37960ADD73B948642C98F7AE96AA2D50.gr7.***.eks.amazonaws.com/version?timeout=32s": getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1, plugin returned version client.authentication.k8s.io/v1beta1
I attach my kubeconfig
Please your help.
Regards config-dev.txt