Merge pull request #8697 from pmorie/secrets-doc

Make secrets example README link to referred files
This commit is contained in:
Dawn Chen 2015-05-22 14:55:13 -07:00
commit aee9971737

View File

@ -12,7 +12,7 @@ started](../../docs/getting-started-guides) for installation instructions for yo
A secret contains a set of named byte arrays.
Use the `examples/secrets/secret.yaml` file to create a secret:
Use the [`examples/secrets/secret.yaml`](secret.yaml) file to create a secret:
```shell
$ kubectl create -f examples/secrets/secret.yaml
@ -31,7 +31,7 @@ test-secret Opaque 2
Pods consume secrets in volumes. Now that you have created a secret, you can create a pod that
consumes it.
Use the `examples/secrets/secret-pod.yaml` file to create a Pod that consumes the secret.
Use the [`examples/secrets/secret-pod.yaml`](secret-pod.yaml) file to create a Pod that consumes the secret.
```shell
$ kubectl create -f examples/secrets/secret-pod.yaml