athens icon indicating copy to clipboard operation
athens copied to clipboard

helm chart not working with recent kubernetes

Open r10r opened this issue 3 years ago • 2 comments

Running helm install gomods/athens-proxy raises the following error:

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1" 

Environment

root@container-node:~/packages/tmp# helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
root@container-node:~/packages/tmp# kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-26T03:47:41Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

r10r avatar Jul 24 '20 15:07 r10r

See https://github.com/Drachenfels-GmbH/kubernetes-crio-lxc/issues/2#issuecomment-663580690 for a solution

r10r avatar Jul 24 '20 15:07 r10r

Thank you for opening this.

Reading the issue you linked, I think that solution is already a part of this PR: https://github.com/gomods/athens/pull/1638

CC: @chriscoffee let me know if the PR above has anything left in it and I'm happy to help. It would be good to unblock the above. Otherwise we can make a separate smaller PR just for the fix.

Thank you!

marwan-at-work avatar Jul 26 '20 13:07 marwan-at-work