gocd / helm-chart

Official GoCD Helm Chart Repository
Apache License 2.0
22 stars 21 forks source link

Helm chart broken on Kubernetes v1.22 #16

Closed tmoschou closed 2 years ago

tmoschou commented 3 years ago

Steps to reproduce

  1. Run Kubernetes v1.22
  2. Run

    $ helm repo add gocd https://gocd.github.io/helm-chart
    $ helm repo update
    $ helm install gocd gocd/gocd --namespace gocd
    Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"

From Deprecation Guide

IngressClass

The networking.k8s.io/v1beta1 API version of IngressClass 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.
  • All existing persisted objects are accessible via the new API
  • No notable changes

References: