aboutsummaryrefslogtreecommitdiff
path: root/pkg/util
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-18 22:01:15 +0100
committerGitHub <noreply@github.com>2021-11-18 22:01:15 +0100
commit82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb (patch)
treec05364eab1d8cee71183c57a83ff40888b072537 /pkg/util
parent93510e8d26b5b2f116179161da4f35da315603da (diff)
parente83d366651e9c68e2802924d7c7d3ac69ca3eb14 (diff)
downloadpodman-82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb.tar.gz
podman-82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb.tar.bz2
podman-82a050a58f2ef2cf940c2ef49e1f8c4b17ab8beb.zip
Merge pull request #12298 from giuseppe/idmapped-bind-mounts
volumes: add new option idmap
Diffstat (limited to 'pkg/util')
-rw-r--r--pkg/util/mountOpts.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/util/mountOpts.go b/pkg/util/mountOpts.go
index f13dc94ec..959763dba 100644
--- a/pkg/util/mountOpts.go
+++ b/pkg/util/mountOpts.go
@@ -33,6 +33,7 @@ func ProcessOptions(options []string, isTmpfs bool, sourcePath string) ([]string
// Some options have parameters - size, mode
splitOpt := strings.SplitN(opt, "=", 2)
switch splitOpt[0] {
+ case "idmap":
case "O":
if len(options) > 1 {
return nil, errors.Wrapf(ErrDupeMntOption, "'O' option can not be used with other options")