mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 09:21:15 -05:00
[PR #1539] [MERGED] [Feature] Update traefik dynamic config to also use resource name #1114
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1539
Author: @OddMagnet
Created: 9/25/2025
Status: ✅ Merged
Merged: 10/6/2025
Merged by: @oschwartz10612
Base:
main← Head:feature-add-resource-name-to-resource-id📝 Commits (2)
9e8e00dUpdate traefik dynamic config to also use resource namecd285ccClean up and copy to getTraefikConfig📊 Changes
3 files changed (+107 additions, -117 deletions)
View changed files
📝
server/lib/traefik/getTraefikConfig.ts(+14 -99)📝
server/lib/traefik/privateGetTraefikConfig.ts(+12 -18)➕
server/lib/traefik/utils.ts(+81 -0)📄 Description
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?
http://localhost:3001/api/v1/traefik-configto see that therouterandservicenow are named like this1-resourceName-router/1-resourceName-service🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.