Commit c541b96e authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9480 from erictune/docs11

Document that leading dots allowed in secret names
parents d477fe6b 9c7d8405
...@@ -27,9 +27,9 @@ This is an example of a simple secret, in json format: ...@@ -27,9 +27,9 @@ This is an example of a simple secret, in json format:
} }
``` ```
The data field is a map. The data field is a map. Its keys must match
Its keys must match [DNS_SUBDOMAIN](design/identifiers.md). [DNS_SUBDOMAIN](design/identifiers.md), except that leading dots are also
The values are arbitrary data, encoded using base64. allowed. The values are arbitrary data, encoded using base64.
This is an example of a pod that uses a secret, in json format: This is an example of a pod that uses a secret, in json format:
```json ```json
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment