mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #51788 from majiayu000/37671-fix-config-data-base64-description
docs: fix base64 encoding description for secrets and configs
This commit is contained in:
@@ -5712,8 +5712,8 @@ definitions:
|
|||||||
com.example.some-other-label: "some-other-value"
|
com.example.some-other-label: "some-other-value"
|
||||||
Data:
|
Data:
|
||||||
description: |
|
description: |
|
||||||
Data is the data to store as a secret, formatted as a Base64-url-safe-encoded
|
Data is the data to store as a secret, formatted as a standard base64-encoded
|
||||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-4)) string.
|
||||||
It must be empty if the Driver field is set, in which case the data is
|
It must be empty if the Driver field is set, in which case the data is
|
||||||
loaded from an external secret store. The maximum allowed size is 500KB,
|
loaded from an external secret store. The maximum allowed size is 500KB,
|
||||||
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0/api/validation#MaxSecretSize).
|
as defined in [MaxSecretSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0/api/validation#MaxSecretSize).
|
||||||
@@ -5767,8 +5767,8 @@ definitions:
|
|||||||
type: "string"
|
type: "string"
|
||||||
Data:
|
Data:
|
||||||
description: |
|
description: |
|
||||||
Data is the data to store as a config, formatted as a Base64-url-safe-encoded
|
Data is the data to store as a config, formatted as a standard base64-encoded
|
||||||
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) string.
|
([RFC 4648](https://tools.ietf.org/html/rfc4648#section-4)) string.
|
||||||
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
The maximum allowed size is 1000KB, as defined in [MaxConfigSize](https://pkg.go.dev/github.com/moby/swarmkit/v2@v2.0.0-20250103191802-8c1959736554/manager/controlapi#MaxConfigSize).
|
||||||
type: "string"
|
type: "string"
|
||||||
Templating:
|
Templating:
|
||||||
|
|||||||
Reference in New Issue
Block a user