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/container_config.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/container_config.go')
-rw-r--r-- | libpod/container_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go index 904c03f9b..0de79fde3 100644 --- a/libpod/container_config.go +++ b/libpod/container_config.go @@ -148,7 +148,7 @@ type ContainerRootFSConfig struct { // default, but others do not. CreateWorkingDir bool `json:"createWorkingDir,omitempty"` // Secrets lists secrets to mount into the container - Secrets []*secrets.Secret `json:"secrets,omitempty"` + Secrets []*ContainerSecret `json:"secrets,omitempty"` // SecretPath is the secrets location in storage SecretsPath string `json:"secretsPath"` // Volatile specifies whether the container storage can be optimized |