mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +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:
@ -10316,7 +10316,7 @@ msgid ""
|
||||
"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)."
|
||||
"generic strings or binary content (up to 512 kB in size)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../source/markdown/podman-create.1.md:1612
|
||||
|
@ -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.
|
||||
|
@ -14,7 +14,7 @@ Create accepts a path to a file, or `-`, which tells podman to read the secret f
|
||||
|
||||
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).
|
||||
|
||||
Secrets are not committed to an image with `podman commit`, and do not get committed in the archive created by a `podman export` command.
|
||||
|
||||
|
Reference in New Issue
Block a user