Skip to content

Conversation

OddMagnet
Copy link

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

This PR adds the name of the resource to the dynamic config of Traefik

How to test?

  1. Clone and build the project (see contributing in the docs)
  2. Go through the initial setup process
  3. Create a site (local is fine)
  4. Create a resource
  5. Check http://localhost:3001/api/v1/traefik-config to see that the router and service now are named like this 1-resourceName-router / 1-resourceName-service
  6. Try creating a resource with special-characters and spaces
  7. The name in the dynamic config should be sanitized of all special characters and spaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant