From 05e11bb98dfd7a504ab05bb7c2f6ab1bb3c9d09b Mon Sep 17 00:00:00 2001 From: Jerry Park Date: Wed, 12 Aug 2020 04:41:34 +0000 Subject: [PATCH] Fix issue with k8s.io/docs/concepts/configuration/secret/ --- content/en/docs/concepts/configuration/secret.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 5c553b5cc6..95e15528fc 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -352,6 +352,8 @@ NAME TYPE DATA db-user-pass-96mffmfh4k Opaque 2 51s ``` +You can view a description of the secret: + ```shell kubectl describe secrets/db-user-pass-96mffmfh4k ``` @@ -1002,6 +1004,8 @@ The output is similar to: secret "prod-db-secret" created ``` +You can also create a secret for test environment credentials. + ```shell kubectl create secret generic test-db-secret --from-literal=username=testuser --from-literal=password=iluvtests ```