forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for ramfs as well as tmpfs in volume mounts
Users want to mount a tmpfs file system with secrets, and make sure the secret is never saved into swap. They can do this either by using a ramfs tmpfs mount or by passing `noswap` option to a tmpfs mount. Fixes: containers#19659 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
- Loading branch information
Showing
5 changed files
with
66 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package define | ||
|
||
const ( | ||
// TypeVolume is the type for named volumes | ||
TypeVolume = "volume" | ||
// TypeTmpfs is the type for mounting tmpfs | ||
TypeTmpfs = "tmpfs" | ||
// TypeDevpts is the type for creating a devpts | ||
TypeDevpts = "devpts" | ||
// TypeTmpfs is the type for mounting tmpfs | ||
TypeTmpfs = "tmpfs" | ||
// TypeRamfs is the type for mounting ramfs | ||
TypeRamfs = "ramfs" | ||
// TypeVolume is the type for named volumes | ||
TypeVolume = "volume" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters