feat: Added support for client.authentication.k8s.io/v1beta1#1550
Conversation
|
background around this documented here #1526 |
|
@vsamidurai do you think this should be variable? With k8s 1.22 variable will need to be always changed to beta api so we will not avoid a I think as of now this can be just parked for a while and merged when there will be other change modifying a launch configuration to release together. |
|
resolves #1526 |
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
@daroga0002 Should we merge this one? If yes, we need to fix the formatting and rebase it. |
…pl to support client.authentication.k8s.io/v1beta
898e341 to
50425a2
Compare
I thought this change may block, incase if anyone wants to use the earlier version of k8s with the old version of aws-cli. If you think the new version terraform-eks only supports clusters above 1.22 we can use hardcoded values than the optional parameters. |
rebased and formatted PR. |
|
I will review this PR and test soon Some usefull link to understand also issue is kubernetes-sigs/aws-iam-authenticator@0221afb#diff-b03d5162238d36a569ac0c110484bf356f617e22967aeb1af853b02993da60b8 |
daroga0002
left a comment
There was a problem hiding this comment.
@vsamidurai thank you for contribution 🎉
I have tested and this is working:
$ diff kubeconfig_lt_with_mng-xunVNPIS kubeconfig_lt_with_mng-xunVNPIS_test
23c23
< apiVersion: client.authentication.k8s.io/v1beta1
---
> apiVersion: client.authentication.k8s.io/v1alpha1
so we can merge this.
|
@antonbabenko lets merge this to master |
|
|
|
Here we go! 🎉 v17.23.0 has been just released. |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
PR o'clock
Description
Please explain the changes you made here and link to any relevant issues.
Recently aws-cli switched to client.authentication.k8s.io/v1beta from v1alpha1 and reverted back to v1alpha1. So this PR makes kubeconfig API version configurable to support Kubernetes v1.22.
aws/aws-cli#6309
#1526
Checklist