Revert "Use SELinux mount flag for secrets"

This reverts commit 874192568f.
This commit is contained in:
Muayyad Alsadi 2023-04-10 12:26:42 +03:00
parent e6b1eabe4c
commit ccdf01e9b0

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(