diff options
author | Ashley Cui <acui@redhat.com> | 2021-05-14 16:29:44 -0400 |
---|---|---|
committer | Ashley Cui <acui@redhat.com> | 2021-07-12 17:00:50 -0400 |
commit | 6f9d9636a23cf19a619c04d38e5efd524b846534 (patch) | |
tree | 921ab1cbfe058d9dde258141aa905ed03a24e44c /libpod/runtime_ctr.go | |
parent | 60d12f72b972d44ee20e95eb99c64a233069bf73 (diff) | |
download | podman-6f9d9636a23cf19a619c04d38e5efd524b846534.tar.gz podman-6f9d9636a23cf19a619c04d38e5efd524b846534.tar.bz2 podman-6f9d9636a23cf19a619c04d38e5efd524b846534.zip |
Support uid,gid,mode options for secrets
Support UID, GID, Mode options for mount type secrets. Also, change
default secret permissions to 444 so all users can read secret.
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'libpod/runtime_ctr.go')
-rw-r--r-- | libpod/runtime_ctr.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go index 7d31e392f..4e4b2a8ab 100644 --- a/libpod/runtime_ctr.go +++ b/libpod/runtime_ctr.go @@ -366,7 +366,7 @@ func (r *Runtime) setupContainer(ctx context.Context, ctr *Container) (_ *Contai return nil, err } for _, secr := range ctr.config.Secrets { - err = ctr.extractSecretToCtrStorage(secr.Name) + err = ctr.extractSecretToCtrStorage(secr) if err != nil { return nil, err } |