mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Make secrets example README link to referred files
This commit is contained in:
parent
295d0564a2
commit
98e97aebfb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user