hackmdio / codimd-helm

Helm charts for CodiMD
https://artifacthub.io/packages/helm/codimd/codimd
14 stars 27 forks source link

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1" Error: plugin "diff" exited with error #15

Open ziyi-bear opened 2 years ago

ziyi-bear commented 2 years ago

in k8s v1.22 there is an error for ingress deployment

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"

Is there a chart version for user upgrade k8s to v1.22? thanks

tuxpeople commented 2 years ago

Hi

That's exactly what stops me from upgrading to 1.22 :-) I scanned my cluster and found two deployments which use removed APIs, one of them is codimd.

Kubernetes 1.22 removed 13 long deprecated (Beta-)APIs. One of them is networking.k8s.io/v1beta1 where Ingress was part of while in beta. Since Kubernetes 1.19, there is networking.k8s.io/v1which should be used. The folks from codimd needs to adjust the helm template here:

https://github.com/hackmdio/codimd-helm/blob/master/charts/codimd/templates/ingress.yaml#L4-L8

I think this needs kind of a "else-if", but I'm not capable of doing a PR as I'm not in the Helm templating language.

tuxpeople commented 2 years ago

Isn't that difficult :) added a PR

tuxpeople commented 2 years ago

Looks like no one want's to merge my PR... Nor look at it.

eyenx commented 1 year ago

Really really sad this does not get look at. We are waiting for this so long now. @groundhog2k is @hackmdio planning to still maintain this repo or should we give it to the community?

groundhog2k commented 1 year ago

I don't know and had no contact to a maintainer of this repo or the codimd project. I only see that there are no new releases of Codimd since August 2022. I'm really thinking of creating my own codimd chart release in https://github.com/groundhog2k/helm-charts, but it will also take time to create a tested initial chart with all features.