Skip to content

Commit c00854e

Browse files
authored
Merge pull request #1242 from fluxcd/docs-sops-secretRef
docs: Clarify `.spec.decryption.secretRef` usage
2 parents 1e9d28b + 46f6cf8 commit c00854e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/spec/v1/kustomizations.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -739,12 +739,13 @@ Secret, encrypting the `metadata`, `kind` or `apiVersion` fields is not supporte
739739
An easy way to do this is by appending `--encrypted-regex '^(data|stringData)$'`
740740
to your `sops --encrypt` command.
741741

742-
It has two required fields:
742+
It has two fields:
743743

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

749750
```yaml
750751
---

0 commit comments

Comments
 (0)