Skip to content

Dynamic proxyProtocol.trustedIPs from the created service #1282

@Gitopolis

Description

@Gitopolis

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 did you expect to see?

When I install traefik with this chart I can't know the list of trusted ips for the proxy protocol, because these ips will be available only after the LoadBalancer service is created. So as a workaround I first install traefik with the empty list, wait for the LoadBalancer to be created, then use dig to get the list of IPv4 and IPv6 addresses of my balancer. After that I can put them into the values file and redeploy the traefik.

The proposal is to automate this process. We can create a job that waits for the LB, and then update the traefik arguments. We can use ArgoCD sync waves to ensure the correct order in which the resources are created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/proposala proposal that needs to be discussed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions