encrypt-data.md: update all secrets in all namespaces.

pull/4696/merge
Slava Semushin 2017-08-04 15:56:54 +02:00 committed by Andrew Chen
parent 14c2094ece
commit 8bbae8df49
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ program to retrieve the contents of your secret.
Since secrets are encrypted on write, performing an update on a secret will encrypt that content.
```
kubectl get secrets -o json | kubectl replace -f -
kubectl get secrets --all-namespaces -o json | kubectl replace -f -
```
The command above reads all secrets and then updates them to apply server side encryption.