Skip to content

Commit

Permalink
Update outdated documentation about secret key validation. (#7675)
Browse files Browse the repository at this point in the history
  • Loading branch information
af-inet authored and k8s-ci-robot committed Mar 23, 2018
1 parent 57303f8 commit 418a44a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/concepts/configuration/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ data:
password: MWYyZDFlMmU2N2Rm
```
The data field is a map. Its keys must match
[`DNS_SUBDOMAIN`](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md), except that leading dots are also
allowed. The values are arbitrary data, encoded using base64.
The data field is a map. Its keys must consist of alphanumeric characters, '-', '_' or '.'. The values are arbitrary data, encoded using base64.
Create the secret using [`kubectl create`](/docs/user-guide/kubectl/{{page.version}}/#create):

Expand Down

0 comments on commit 418a44a

Please sign in to comment.