mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 20:59:07 -05:00
[GH-ISSUE #1864] Resources created from Docker labels are not removed when labels are deleted, leaving services unintentionally exposed #3973
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 @hilsonp on GitHub (Nov 14, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1864
Describe the Bug
When a Pangolin resource is created via Docker labels, it correctly appears in the UI.
However, if those labels are later removed from the Docker Compose configuration and the container is restarted, the Pangolin resource remains active instead of being removed or disabled.
This results in a potentially dangerous situation where a service is still reachable from the public network even though the configuration-as-code source (Git) no longer defines any labels for it.
Users familiar with Traefik may assume resources are dynamically added/removed based on labels, potentially leading to accidental exposure.
This may relate to: https://github.com/orgs/fosrl/discussions/1648
Environment
To Reproduce
➜ The resource appears in Pangolin as expected.
➜ The resource is still present and the service remains reachable.
Expected Behavior
@hilsonp commented on GitHub (Nov 14, 2025):
Upgraded and re-tested with:
@github-actions[bot] commented on GitHub (Nov 29, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@hilsonp commented on GitHub (Nov 29, 2025):
Hopefully, this will be considered.
Thank you for the great work.
@github-actions[bot] commented on GitHub (Dec 15, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@hilsonp commented on GitHub (Dec 23, 2025):
Unstaled
@oschwartz10612 commented on GitHub (Dec 24, 2025):
Closing in favor of https://github.com/orgs/fosrl/discussions/1648 as mentioned in your post. I think this is a feature request.
Right now this is expected operation. Resources must be deleted from the UI or the API.
I agree with your statements though so we will consider this as soon as possible and track on the discussion!