doc: fix age key path

This commit is contained in:
auricom
2022-07-08 10:19:29 +02:00
parent 67f8fea868
commit fc131ce9f4

View File

@@ -30,11 +30,11 @@ flux bootstrap github \
## SOPS secret from age key ## SOPS secret from age key
```bash ```bash
age-keygen -o $HOME/sops/age/key.txt age-keygen -o $HOME/sops/age/keys.txt
cat $HOME/sops/age/key.txt | cat $HOME/sops/age/keys.txt |
kubectl create secret generic sops-age \ kubectl create secret generic sops-age \
--namespace=flux-system \ --namespace=flux-system \
--from-file=$HOME/sops/age/key.txt=/dev/stdin --from-file=$HOME/sops/age/keys.txt=/dev/stdin
``` ```
## Encrypt kubernetes resources with sops binary ## Encrypt kubernetes resources with sops binary