mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
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>
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user