loft-sh / component-chart

Kubernetes Component Chart - Helm Chart for Application Components in Kubernetes
https://devspace.sh/component-chart/docs/introduction
Apache License 2.0
32 stars 39 forks source link

Fix Ingress apiVersion #98

Closed jrampon closed 1 year ago

jrampon commented 1 year ago

The use of Capabilities in Helm Chart templates is currently not supported by Kustomize (see here).

The use of Capabilities in the Ingress template should not be necessary as the apiVersion networking.k8s.io/v1 has been supported since K8s 1.19 (see here).

This PR removes the templating around the Ingress apiVersion to fix the apiVersion to networking.k8s.io/v1 and allows Component Chart to be used as part of a Kustomize deployment (as defined here).