traefik-helm-chart
traefik-helm-chart copied to clipboard
Support templating in IngressRoute annotations
Welcome!
- [x] Yes, I've searched similar issues on GitHub and didn't find any.
- [x] Yes, I've searched similar issues on the Traefik community forum and didn't find any.
What do you want to achieve with this Chart ?
I would like to add annotation on the dashboard ingressroute and to ease the generation, I would like to use a template. Currently it seems not working, for instance when I do that
ingressRoutes:
dashboard:
annotations:
gethomepage.dev/widget.url: "http://{{.Release.Name}}.{{.Release.Namespace}}:{{.Values.ports.traefik.port}}"
The templated values are not replaced. Is there a way to change this ?
Hello @aacebedo,
It's not implemented but it's a feature that can be added by using tpl in https://github.com/traefik/traefik-helm-chart/blob/master/traefik/templates/ingressroute.yaml
Feel free to open PR if you need it.