New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use Argo CD clientset with K8s 1.28 #17935
Comments
Unfortunately, you need to pin the Kubernetes version in your consumer to the same version that Argo CD uses. This is done using replace rules in your go.mod. PTAL here: Lines 310 to 338 in b060053
|
We do pin the Kubernetes version at the moment and this works since we use v0.26.10 today. But we are moving to Kubernetes 1.28 and this is why we would like to update the version. The issue is that we have other dependencies to update but they require newer versions of Kubernetes. Pinning the version means that we are not able to update other dependencies that require a newer version of the Kubernetes dependencies. Is there a plan to update the Kubernetes version that Argo CD uses? |
I am moving to Kubernetes 1.28/1.29. So I would also like to update the Argo CD version. I have the same issue and question as @Bondza:
|
There's an going effort in #17491, but seems to have stalled for now. |
@Bondza @joselitofilho @blakepettersson |
@sivchari no worries, there is no deadline. You have been doing a great job so far, keep it up! 😄 |
@sivchari no worries. Thank you for your initiative and great work! 👏 |
I've completed all required tasks. So It's ready to be merged. Thanks. |
Fixed with #17491 |
Checklist:
argocd version
.Describe the bug
We use the Argo CD Go library and generated clientset to manage Applications in our cluster. When trying to update to K8s dependencies like
k8s.io/kubectl
to version v0.28.8 it fails to build because a function has changed signature:The version skew policy for
kubectl
states:And Argo CD is on v0.26.4 for
k8s.io/kubectl
, so 1.28 for example is not officially supported with the current version.To Reproduce
Try to build an application with these dependencies in
go.mod
:Expected behavior
It builds successfully.
Screenshots
N/A
Version
Logs
N/A
The text was updated successfully, but these errors were encountered: