Argo Ingressroutes in a Helm chart
Argo’s internal helm ignores ingressroutes that have been defined in a template:
Working:
services.yaml:
{{ template "other_template" . }}
...
ingress.yaml: # <- this file gets deployed independent from services.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
...
Argo does not even list the ingress:
services.yaml:
{{ template "ingress" . }}
...
_ingress.yaml: # <- this file is just a template-containing file and will not deploy
{{ define "ingress" }}
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
...
{{ end }}