mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 06:08:33 -05:00
[PR #2132] [MERGED] Fix: Support public-resources and private-resources in Docker blueprint labels #30799
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/2132
Author: @djcrafts
Created: 12/21/2025
Status: ✅ Merged
Merged: 12/21/2025
Merged by: @oschwartz10612
Base:
main← Head:fix/blueprint-public-private-resources📝 Commits (1)
736f249Fix: Support public-resources and private-resources in Docker blueprint labels📊 Changes
2 files changed (+37 additions, -3 deletions)
View changed files
📝
server/lib/blueprints/applyNewtDockerBlueprint.ts(+3 -1)📝
server/lib/blueprints/parseDockerContainers.ts(+34 -2)📄 Description
Summary
Fixes #2125 by adding support for
public-resourcesandprivate-resourcesas aliases in Docker blueprint labels, matching the functionality already available in YAML blueprints.Problem
When using Docker container labels with
pangolin.public-resources.*orpangolin.private-resources.*prefixes, the blueprint updater would fail silently and output an empty list[], never creating or updating resources. The issue had two causes:pangolin.proxy-resources.*andpangolin.client-resources.*prefixesSolution
pangolin.public-resources.*andpangolin.private-resources.*labelsConfigSchema.transform()logic handles merging aliases into canonical keys (no changes needed)Testing
Changes
Expected Behavior (from issue)
Before:
After:
Related
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.