gissilabs / charts

Apache License 2.0
37 stars 22 forks source link

Migrate to `networking.k8s.io/v1` #45

Closed TjayGs closed 1 year ago

TjayGs commented 1 year ago

Peace out,

thank you very much for providing this chart :)

I tried to install it and got following error message:

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "leantime" namespace: "" from "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1" ensure CRDs are installed first

I saw that you use networking.k8s.io/v1beta1 for the ingress as apiVersion. According to https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122 it was removed and should be migrated to networking.k8s.io/v1

Is it possible to upgrade at least the ingress template ?

Best regards, Tjay

fr3fou commented 1 year ago

any updates on this? makes it unusable in my cluster

sgissi commented 1 year ago

Hi @fr3fou, thanks for catching this. Indeed, Leantime chart has not been updated to use the non-beta API. I'll update it and release on the next weekend.

fr3fou commented 1 year ago

Hi @fr3fou, thanks for catching this. Indeed, Leantime chart has not been updated to use the non-beta API. I'll update it and release on the next weekend.

The same issue is also relevant for the vaultwarden chart

sgissi commented 1 year ago

@fr3fou I have updated the chart for Leantime just now (version 1.0.1). Can you test? Both Vaultwarden and the older Bitwardenrs charts have support for networking.k8s.io/v1 already, it relies on Helm API version capabilities. During install, it will check what your cluster supports and use the correct API Version.