Correct formatting of note on creating a secret. (#10919)

Note should not be code-formatted and command should be inside note
block.

Signed-off-by: Leah Hanson <lhanson@pivotal.io>
This commit is contained in:
Leah Hanson
2018-11-07 18:53:40 -08:00
committed by k8s-ci-robot
parent 0cbcf91878
commit 273ae81ff3
@@ -42,13 +42,13 @@ username and password:
```shell ```shell
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/secret.yaml kubectl create -f https://k8s.io/docs/tasks/inject-data-application/secret.yaml
``` ```
{{< note >}} {{< note >}}
If you want to skip the Base64 encoding step, you can create a Secret by using the `kubectl create secret` command: If you want to skip the Base64 encoding step, you can create a Secret by using the `kubectl create secret` command:
{{< /note >}}
```shell ```shell
kubectl create secret generic test-secret --from-literal=username='my-app' --from-literal=password='39528$vdg7Jb' kubectl create secret generic test-secret --from-literal=username='my-app' --from-literal=password='39528$vdg7Jb'
``` ```
{{< /note >}}
1. View information about the Secret: 1. View information about the Secret: