From 418a44a182b42990e248d3f9c74a4ce93f0d6320 Mon Sep 17 00:00:00 2001 From: David Hargat Date: Fri, 23 Mar 2018 13:05:03 -0400 Subject: [PATCH] Update outdated documentation about secret key validation. (#7675) --- docs/concepts/configuration/secret.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/concepts/configuration/secret.md b/docs/concepts/configuration/secret.md index 96f64b6c02..497bff5459 100644 --- a/docs/concepts/configuration/secret.md +++ b/docs/concepts/configuration/secret.md @@ -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):