Update outdated documentation about secret key validation. (#7675)

This commit is contained in:
David Hargat
2018-03-23 13:05:03 -04:00
committed by k8s-ci-robot
parent 57303f8790
commit 418a44a182
+1 -3
View File
@@ -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):