mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-29 11:23:50 +01:00
Use more lenient SELinux mount flag for secrets
Signed-off-by: Henry Reed <60915078+henryreed@users.noreply.github.com>
This commit is contained in:
parent
874192568f
commit
75de39c239
@ -578,7 +578,7 @@ def get_secret_args(compose, cnt, secret):
|
||||
source_file = os.path.realpath(
|
||||
os.path.join(basedir, os.path.expanduser(source_file))
|
||||
)
|
||||
volume_ref = ["--volume", f"{source_file}:{dest_file}:Z,ro,rprivate,rbind"]
|
||||
volume_ref = ["--volume", f"{source_file}:{dest_file}:z,ro,rprivate,rbind"]
|
||||
if uid or gid or mode:
|
||||
sec = target if target else secret_name
|
||||
log(
|
||||
|
Loading…
Reference in New Issue
Block a user