Compare commits

...

2 Commits

Author SHA1 Message Date
Muayyad Alsadi
1f4a4d2184 Revert "Use SELinux mount flag for secrets"
This reverts commit 874192568fd3472bdc9bacdc7d65018130f0ab60.
2023-04-10 12:26:42 +03:00
Muayyad Alsadi
08a453d643 Revert "Use more lenient SELinux mount flag for secrets"
This reverts commit 75de39c23973160386244d35f43ef50cf2e962c0.
2023-04-10 12:26:42 +03:00

View File

@ -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}:ro,rprivate,rbind"]
if uid or gid or mode:
sec = target if target else secret_name
log(