summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate/container_create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-16 01:45:27 +0100
committerGitHub <noreply@github.com>2021-11-16 01:45:27 +0100
commitbe681ab5189dea3eef73082d0b494699072e66aa (patch)
tree8ade1d5a1a0dd359af68d6c22ff7fd860e589a3c /pkg/specgen/generate/container_create.go
parent45d28c2219b64d81323b7a15fef589b11b6c63b3 (diff)
parent014cc4b9d9a15db6e61331a3be37a98235db8301 (diff)
downloadpodman-be681ab5189dea3eef73082d0b494699072e66aa.tar.gz
podman-be681ab5189dea3eef73082d0b494699072e66aa.tar.bz2
podman-be681ab5189dea3eef73082d0b494699072e66aa.zip
Merge pull request #12294 from flouthoc/secret-mount-target
secret: honor custom `target=` for secrets with `type=mount` for ctr.
Diffstat (limited to 'pkg/specgen/generate/container_create.go')
-rw-r--r--pkg/specgen/generate/container_create.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgen/generate/container_create.go b/pkg/specgen/generate/container_create.go
index f3dc28b01..f90fef9e8 100644
--- a/pkg/specgen/generate/container_create.go
+++ b/pkg/specgen/generate/container_create.go
@@ -474,6 +474,7 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
UID: s.UID,
GID: s.GID,
Mode: s.Mode,
+ Target: s.Target,
})
}
options = append(options, libpod.WithSecrets(secrs))