mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
docs: Use accurate max size of secret content
The current max size is defined as `maxSecretSize = 512000` in `github.com/containers/common/blob/main/pkg/secrets/secrets.go`. Signed-off-by: Alexander Gramiak <agrambot@gmail.com>
This commit is contained in:
@ -8,7 +8,7 @@ Give the container access to a secret. Can be specified multiple times.
|
||||
|
||||
A secret is a blob of sensitive data which a container needs at runtime but
|
||||
is not stored in the image or in source control, such as usernames and passwords,
|
||||
TLS certificates and keys, SSH keys or other important generic strings or binary content (up to 500 kb in size).
|
||||
TLS certificates and keys, SSH keys or other important generic strings or binary content (up to 512 kB in size).
|
||||
|
||||
When secrets are specified as type `mount`, the secrets are copied and mounted into the container when a container is created.
|
||||
When secrets are specified as type `env`, the secret is set as an environment variable within the container.
|
||||
|
Reference in New Issue
Block a user