Blueprint-managed resources: visual indicator, edit warning, and unlock option #2849
Closed
strausmann
started this conversation in
Feature Requests
Replies: 2 comments 1 reply
|
Wouldn't it be "enough" if you could just... attach labels to resources in blueprints? As of now, you can only attach labels manually, not via blueprints. |
1 reply
|
Labels on the blueprints will be available in 1.22. 03118f1 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
When resources are created via Docker label blueprints, there is no way to tell them apart from manually created resources — not in the dashboard, and not via the API.
This causes a frustrating workflow: you make a change to a resource in the UI (e.g., adjust SSO roles or access rules), and seconds later it gets silently overwritten by the next blueprint sync. You then have to go investigate whether this resource was created by a blueprint or manually — check the Docker labels on the compose stack, check the Newt logs, try to remember.
The same problem exists via the API: when querying a resource (
GET /resource/{id}), there is no field indicating whether it is blueprint-managed. An API consumer has no way to know that modifying this resource is pointless because the next sync will revert the change. Instead, the change needs to be made in the Docker compose labels on the stack.Proposed Solution
1. Visual Indicator in Resource List and Detail View
Add a visible marker to blueprint-managed resources:
2. Edit Warning on Blueprint-Managed Resources
When opening the settings of a blueprint-managed resource, show a warning:
Optionally: make fields read-only by default with an explicit "Override" toggle for cases where you know what you are doing.
3. API: Return Blueprint Source in Resource Response
Add a field to the resource API response indicating blueprint management:
{ "resourceId": 66, "name": "GitLab", "fullDomain": "git.example.com", "blueprintManaged": true, "blueprintSource": { "siteId": 3, "siteName": "HHDOCKER01", "containerName": "gitlab", "lastApplied": "2026-04-13T15:30:00Z" } }This allows API consumers and automation tools to:
4. Detach / Unlock from Blueprint
Provide an option to permanently detach a resource from its blueprint:
Related Issues / Discussions
All reactions