Skip to content

Introduce support for secrets and configs uid|gid|mode by using copy vs bind mount - #12625

Closed
ndeloof wants to merge 1 commit into
docker:mainfrom
ndeloof:copy_config_secret
Closed

ndeloof wants to merge 1 commit into
docker:mainfrom
ndeloof:copy_config_secret

Conversation

@ndeloof

@ndeloof ndeloof commented Mar 11, 2025 •

Copy link
Copy Markdown
Contributor

What I did
Prefer copy strategy when config/secret mount is set with uid/gid/mode (which a bind mount can't implement)

Related issue
fixes #12270
also see #12251

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof
ndeloof force-pushed the copy_config_secret branch from a271484 to 4b26c48 Compare March 11, 2025 13:06
@ndeloof ndeloof changed the title manage secret/config by copy when uid|gid|mode is set Introduce support for secrets and configs uid|gid|mode by using copy vs bind mount Mar 11, 2025
@ndeloof
ndeloof marked this pull request as ready for review March 11, 2025 13:24
@ndeloof
ndeloof requested a review from a team as a code owner March 11, 2025 13:24
@ndeloof
ndeloof requested a review from glours March 11, 2025 13:24
@ndeloof
ndeloof marked this pull request as draft March 11, 2025 13:42
@ndeloof
ndeloof force-pushed the copy_config_secret branch from 4b26c48 to 2859d6b Compare March 12, 2025 06:44
@ndeloof
ndeloof force-pushed the copy_config_secret branch from 2859d6b to ab5c129 Compare March 18, 2025 07:18
@ndeloof
ndeloof marked this pull request as ready for review March 18, 2025 07:21
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Configs uid, gid and mode is will not take effect with configs of type file

1 participant