Skip to content

Support templating in IngressRoute annotations #1475

Open
@aacebedo

Description

@aacebedo

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • 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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions