Skip to content

Commit

Permalink
Fix issue with k8s.io/docs/concepts/configuration/secret/
Browse files Browse the repository at this point in the history
  • Loading branch information
pjhwa committed Aug 12, 2020
1 parent 7874c4d commit 05e11bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/docs/concepts/configuration/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit 05e11bb

Please sign in to comment.