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:
Alexander Gramiak
2025-03-24 15:46:14 -06:00
parent 10290d462b
commit bf0a5ee3cf
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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.