Trusted Plugin Volume Mounts #4078
Unanswered
dvjn
asked this question in
Request a Feature
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great if there was a way for the admin to configure which plugins are trusted to mount which paths as volumes without needing to mark each repo as trusted.
For eg, a docker build plugin is trusted to mount docker socket, a cache plugin is trusted to mount cache path, and so on.
I suggest a new configuration
WOODPECKER_PLUGINS_TRUSTED_VOLUME_MOUNTS
(similar toWOODPECKER_PLUGINS_TRUSTED_CLONE
in #4074 andWOODPECKER_PLUGINS_PRIVILEGED
in #4053).But, instead of a list, I would suggest to define key value pairs, for eg:
woodpeckerci/plugin-docker-buildx=/var/run/docker.sock;my-cache-plugin=/cache
This means the admin need not mark whole repos as trusted and instead could just mark a few plugins paths combinations as trusted.
Beta Was this translation helpful? Give feedback.
All reactions