Update readme

This commit is contained in:
2025-01-24 20:41:22 +00:00
parent d74533afb5
commit 7ea7c4e913

View File

@@ -62,14 +62,16 @@ kubectl create secret generic sops-age \
Update the encryption with `sops updatekeys`, then delete age.agekey. Update the encryption with `sops updatekeys`, then delete age.agekey.
TODO - This doesn't appear to work as expected, need to do: TODO - This doesn't appear to work as expected, need to do:
- `sops -d -i apps/gluetun/secret.yaml` - `sops updatekeys -y apps/gluetun/secret.yaml`
- `sops -e -i apps/gluetun/secret.yaml`
This should work but is untested (in fish)
`for file in $(grep -lr "sops:"); sops updatekeys -y $file; end`
### Using sops ### Using sops
#### Encrypting #### Encrypting
After creating a new secret, run `sops encrypt --in-place ./path/to/secret.yaml`. After creating a new secret, run `sops -e -i ./path/to/secret.yaml`.
#### Editing #### Editing