Replies: 2 comments 1 reply
-
|
@IARI Thanks for laying this out so clearly — your reading of the current and planned behavior is correct, and this is a real gap rather than a duplicate of #160. I traced it against the current v1.6 implementation:
That means Drydock cannot currently express your full matrix: blocked by default → manually allowlisted → smaller automatic subset. I've accepted this into the v1.7 roadmap as 6.0.1 Per-Action Access and Automatic-Execution Policy. It is now an explicit prerequisite for the planned change that promotes The implementation contract recorded in the roadmap is:
This stays out of the v1.6 cut because that branch is in release convergence, but it is now scheduled in the correct v1.7 policy/taxonomy lane and this discussion will remain open as the design reference. Thanks again — the Portainer/direct-Compose split is exactly the concrete case that shows why access and automation need separate controls. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for responding so quickly and positively - I'm happy that you plan to incorporate it. So if I understand correctly,
And thanks again, that you have created this fork/rebrand of WUD - it seems super promising and I'd be glad to. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
I am looking at the current deprecation notice for manual updates bypassing
dd.action.include/dd.action.exclude:I also found the related prior discussions/issues:
As I understand it, in v1.5.x
trigger-not-included/trigger-excludedare soft blockers: they suppress automatic action execution, but manual updates are still allowed with a warning/confirmation. The deprecation page says that in v1.7.0 these will become hard blockers: the UI locks the update button and the API rejects manual updates when the action trigger is filtered by labels.That direction makes sense to me, but I would like to request a slightly more expressive policy model for action triggers.
The use case
I want some actions to be unavailable ("hard blocked") by default for most containers, and for selected containers, I want to allow the action explicitly with labels.
I have both:
So for example Docker Compose / stack update actions should only manually be included for the 3-4 directly managed compose stacks - and unavbailable for the bulk of portainer-managed stacks.
But “allow this action” and “auto-run this action” are different decisions.
For example, for a Docker Compose action trigger I may want:
The matrix I am hoping for
Ideally, for each action trigger, there would be a way to express the default behavior and then override it per container:
Then labels could opt a container into one of these states for a specific action trigger.
Pseudo-example, not necessarily proposed syntax:
Or, if this fits the existing include/exclude model better, maybe something like:
DD_ACTION_DOCKERCOMPOSE_COMPOSE_AUTO=manual-onincludewhere included containers are manual-allowed, not automatically updated, and a separate label/config enables automatic execution.
Why
AUTO=onincludedoes not fully cover itAUTO=onincludeis close, but it seems to conflate two concepts:After the v1.7.0 hard-blocker change,
AUTO=onincludesounds like it will provide:What I am missing is:
Questions
AUTO?Thanks for all the work on the update eligibility model. The hard-blocker direction is exactly the kind of safety boundary I want for powerful action triggers; I would just love to have a manual-only allowlisted state as well.
Beta Was this translation helpful? Give feedback.
All reactions