mirror of
https://github.com/containers/podman-compose.git
synced 2025-05-29 06:37:34 +02:00
Revert "Use more lenient SELinux mount flag for secrets"
This reverts commit 75de39c23973160386244d35f43ef50cf2e962c0.
This commit is contained in:
parent
75de39c239
commit
e6b1eabe4c
@ -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…
x
Reference in New Issue
Block a user