Skip to content

Commit

Permalink
Redirect to decoding a secret (#10594)
Browse files Browse the repository at this point in the history
In this Document Encrypting Secret data at REST, the example to verify
decrypt secret is bit confusing, on running
$ kubectl describe secret secret1 -n default
"should match mykey: mydata" never match because data is enoded,
This commit redirects it to decoding the secret
  • Loading branch information
adisky authored and k8s-ci-robot committed Nov 19, 2018
1 parent b5a09f6 commit b82bf96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/en/docs/tasks/administer-cluster/encrypt-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ program to retrieve the contents of your secret.
kubectl describe secret secret1 -n default
```

should match `mykey: mydata`
should match `mykey: bXlkYXRh`, mydata is encoded, check [decoding a secret](/docs/concepts/configuration/secret#decoding-a-secret) to
completely decode the secret.


## Ensure all secrets are encrypted
Expand Down

0 comments on commit b82bf96

Please sign in to comment.