Skip to content

Commit

Permalink
Merge pull request #1242 from fluxcd/docs-sops-secretRef
Browse files Browse the repository at this point in the history
docs: Clarify `.spec.decryption.secretRef` usage
  • Loading branch information
stefanprodan authored Sep 13, 2024
2 parents 1e9d28b + 46f6cf8 commit c00854e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/spec/v1/kustomizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,12 +739,13 @@ Secret, encrypting the `metadata`, `kind` or `apiVersion` fields is not supporte
An easy way to do this is by appending `--encrypted-regex '^(data|stringData)$'`
to your `sops --encrypt` command.

It has two required fields:
It has two fields:

- `.provider`: The secrets decryption provider to be used. This field is required and
the only supported value is `sops`.
- `.secretRef.name`: The name of the secret that contains the keys to be used for
decryption.
- `.provider`: The secrets decryption provider to be used. The only supported
value at the moment is `sops`.
decryption. This field can be omitted when using the
[global decryption](#controller-global-decryption) option.

```yaml
---
Expand Down

0 comments on commit c00854e

Please sign in to comment.