twuni/docker-registry.helm

Chart ingress not working in latest k8s

agorgl opened this issue · 1 comments

According to the k8s deprecation guide: https://kubernetes.io/docs/reference/using-api/deprecation-guide/

The extensions/v1beta1 and networking.k8s.io/v1beta1 API versions of Ingress is no longer served as of v1.22.
Migrate manifests and API clients to use the networking.k8s.io/v1 API version, available since v1.19.

Fix should be applied here:

apiVersion: {{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }} networking.k8s.io/v1beta1 {{- else }} extensions/v1beta1 {{- end }}

And probably here:

Fixed in v2.0.0.