From b697dc313f704eafd01dd17fc7454cfd2f6214ac Mon Sep 17 00:00:00 2001 From: Marcin Wielgus Date: Sat, 27 Jun 2015 12:46:09 +0200 Subject: [PATCH] Link and kubectl describe in examples/secret --- examples/secrets/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/secrets/README.md b/examples/secrets/README.md index a15d6430bb6..4851c99551b 100644 --- a/examples/secrets/README.md +++ b/examples/secrets/README.md @@ -1,6 +1,7 @@ # Secrets example Following this example, you will create a secret and a pod that consumes that secret in a volume. +You can learn more about secrets [Here](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/secrets.md). ## Step Zero: Prerequisites @@ -24,6 +25,18 @@ You can use `kubectl` to see information about the secret: $ kubectl get secrets NAME TYPE DATA test-secret Opaque 2 + +$ kubectl describe secret test-secret +Name: test-secret +Labels: +Annotations: + +Type: Opaque + +Data +==== +data-1: 9 bytes +data-2: 11 bytes ``` ## Step Two: Create a pod that consumes a secret