aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_config.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2021-05-14 16:29:44 -0400
committerAshley Cui <acui@redhat.com>2021-07-12 17:00:50 -0400
commit6f9d9636a23cf19a619c04d38e5efd524b846534 (patch)
tree921ab1cbfe058d9dde258141aa905ed03a24e44c /libpod/container_config.go
parent60d12f72b972d44ee20e95eb99c64a233069bf73 (diff)
downloadpodman-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.go2
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