Chart broken for kubernetes 1.19
For kubernetes 1.19, both extensions/v1beta1 and networking.k8s.io/v1 coexist so this approach in fact breaks this helm chart since we end up with apiVersion: extensions/v1beta1 here but also hit the {{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }} conditional below producing the following error:
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "service" in io.k8s.api.networking.v1beta1.IngressBackend
helm.go:88: [debug] error validating "": error validating data: ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "service" in io.k8s.api.networking.v1beta1.IngressBackend
Originally posted by @jsotelo in https://github.com/actions-runner-controller/actions-runner-controller/pull/988#discussion_r779635311
What would be the better approach to this?
What would be the better approach to this?
https://github.com/actions-runner-controller/actions-runner-controller/pull/988#discussion_r779694913