Skip to content

feat: cover storage host directories in dokku_storage_entry - #440

Merged
josegonzalez merged 1 commit into
mainfrom
416-decide-how-far-docket-covers-storage-host-directory-management
Aug 9, 2026
Merged

feat: cover storage host directories in dokku_storage_entry#440
josegonzalez merged 1 commit into
mainfrom
416-decide-how-far-docket-covers-storage-host-directory-management

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

docket covers storage host directories exactly as far as storage:create reaches, so dokku_storage_entry gains the annotations and labels it was missing, validates its inputs offline against the same rules dokku enforces, and exports every attribute it can set rather than three of them. The 0o777 chmod and the destroy_host_dir removal that ansible-dokku's dokku_storage does with raw filesystem calls stay in the wrapper, since dokku exposes no command for either and docket may be driving the host over SSH. A create-time option supplied alongside state: absent is now rejected rather than silently discarded.

docs/ansible-dokku.md records the decision as a per-option table under the module mapping, and host-directory management leaves the list of things a wrapper cannot delegate. The two pieces that stay behind are tracked in dokku/dokku#8913, and the fact that chown applies at create time only is tracked in #439.

Closes #416.

docket covers storage host directories exactly as far as `storage:create` reaches, so `dokku_storage_entry` gains the `annotations` and `labels` it was missing, validates its inputs offline against the same rules dokku enforces, and exports every attribute it can set rather than three of them. The `0o777` chmod and the `destroy_host_dir` removal that `ansible-dokku`'s `dokku_storage` does with raw filesystem calls stay in the wrapper, since dokku exposes no command for either and docket may be driving the host over SSH. A create-time option supplied alongside `state: absent` is now rejected rather than silently discarded.
@josegonzalez
josegonzalez merged commit a5f640a into main Aug 9, 2026
19 checks passed
@josegonzalez
josegonzalez deleted the 416-decide-how-far-docket-covers-storage-host-directory-management branch August 9, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide how far docket covers storage host directory management

1 participant