koslib / helm-eks-action

The simplest Github Action for executing Helm commands on EKS - cluster authentication included
MIT License
62 stars 61 forks source link

Kubeconfig user entry is using deprecated API version client.authentication.k8s.io/v1alpha1 #38

Closed Sharlie89 closed 1 year ago

Sharlie89 commented 1 year ago

Hi, today I started to get this issue when trying to deploy to my K8s cluster from GH-actions:

Kubeconfig user entry is using deprecated API version client.authentication.k8s.io/v1alpha1. Run 'aws eks update-kubeconfig' to update.

As far as I've see, this happens when you uses awscli < 1.24

This is my first time using your solution, but I think that the problems come from the docker image that you are using on "/dockerhub/Dockerfile". There's an argument where you set the AWS CLI version ARG AWSCLI_VERSION="1.23.13" It should be greater than 1.24 or 2.7 if you are working with an EKS cluster version => 1.22

There's a plan for upgrade it?

Thanks in advance

koslib commented 1 year ago

Hello, thanks for bringing this up!

I’ll send a fix during the day :)

On Fri, Oct 14, 2022 at 12:37, Carlos Álvarez @.***> wrote:

Hi, today I started to get this issue when trying to deploy to my K8s cluster from GH-actions:

Kubeconfig user entry is using deprecated API version client.authentication.k8s.io/v1alpha1. Run 'aws eks update-kubeconfig' to update.

As far as I've see, this happens when you uses awscli < 1.24

This is my first time using your solution, but I think that the problems come from the docker image that you are using on "/dockerhub/Dockerfile". There's an argument where you set the AWS CLI version ARG AWSCLI_VERSION="1.23.13" It should be greater than 1.24 or 2.7 if you are working with an EKS cluster version => 1.22

There's a plan for upgrade it?

Thanks in advance

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sharlie89 commented 1 year ago

Thanks you for take care of this :)

koslib commented 1 year ago

Closed in #39 and issued release v1.25.3 - let me know if you have any issues!

Sharlie89 commented 1 year ago

Is working, thanks @koslib !

prachimantri212 commented 1 year ago

How to resolve this issue?

koslib commented 1 year ago

@prachimantri212 which version are you using?