mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 14:47:04 -05:00
[GH-ISSUE #3104] Blueprint Docker Label Configuration: Region Rule Value Parsing Fails #27933
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 @gnullme on GitHub (May 18, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3104
Originally assigned to: @oschwartz10612 on GitHub.
Describe the Bug
Since switching to Blueprints with Docker labels for configuration, I encounter an issue when creating a rule for a region. The value parsing fails with the following error:
WARN: 2026/05/12 18:23:36 Blueprint application failed: Failed to apply blueprint from config: Error: Validation error: Invalid input: expected string, received number at "public-resources.my-app.rules[0].value"Docker labels used:
When setting the value to a string (pangolin.public-resources.my-app.rules[0].value="150"), the blueprint application fails with the following error:
WARN: 2026/05/12 18:23:59 Blueprint application failed: Failed to apply blueprint from config: Error: Validation error: Value must be a valid UN M.49 region or subregion ID when match is 'region' at "public-resources.my-app.rules[0].value"Environment
To Reproduce
Expected Behavior
I can use region values for blueprint rules as docker container labels.
@oschwartz10612 commented on GitHub (May 20, 2026):
Will be released in the next patch or minor release in a couple of days