encrypt-data.md: update all secrets in all namespaces.
parent
14c2094ece
commit
8bbae8df49
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue