mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 13:49:15 -05:00
[GH-ISSUE #425] [Feature Request] Update Traefik dynamic config to use resource name instead of resource number #6240
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?
Originally created by @just5ky on GitHub (Mar 29, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/425
Issue
Currently, Pangolins generated Traefik dynamic config has object name as
4-router@http, which makes it difficult to know where the web-traffic is flowing.Looking at the pangolins URL path, in this case 4 turns out to be Jellyfin
https://pangolin.domain/organization_name/settings/resources/4/connectivityIP - - [29/Mar/2025:16:40:26 +0000] "GET /i/?a=normal&get=c_9 HTTP/2.0" 200 67834 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" 20393 "4-router@http" "http://100.89.128.4:41168" 1147msProposed Solution
References
https://doc.traefik.io/traefik/providers/overview/#provider-namespace
https://doc.traefik.io/traefik/providers/http/
@miloschwartz commented on GitHub (Mar 30, 2025):
Resource name is not unique, but this could work if we generate a unique key, like:
<name>-<id>@miloschwartz commented on GitHub (Mar 30, 2025):
Converting this to a feature request in discussions.