Skip to content

Commit

Permalink
Tid: slightly better explanation for how to get the age decryption ru…
Browse files Browse the repository at this point in the history
…nning (#157)
  • Loading branch information
ezloj authored Dec 2, 2023
1 parent c2559b0 commit c065f47
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,18 @@ helm upgrade --install sops sops/sops-secrets-operator --namespace sops
## Age

* Create age reference `keys.txt` file, create kubernetes secret from it.
* Deploy helm chart using `extraEnv` and `secretsAsFiles` to specify mounted `keys.txt` from secret via `SOPS_AGE_KEY_FILE` environment variable.
* Deploy helm chart
- Use `secretsAsFiles` to specify the secret which contains the `keys.txt`. Example:
- Use `extraEnv` and specify mounted `keys.txt` path `SOPS_AGE_KEY_FILE` environment variable:
```
secretsAsFiles:
- mountPath: /etc/sops-age-key-file
name: sops-age-key-file
secretName: sops-age-key-file
extraEnv:
- name: SOPS_AGE_KEY_FILE
value: /etc/sops-age-key-file/key
```
* Also see: [Local testing using age](docs/age/README.md)

References:
Expand Down

0 comments on commit c065f47

Please sign in to comment.