Skip to content

Commit

Permalink
Add SOPS decryption example to flux-operator docs
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Sep 7, 2024
1 parent 2a3dc26 commit a13faee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/operator/flux-kustomize.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,23 @@ spec:
kind: OCIRepository
```
### Cluster sync SOPS decryption
```yaml
apiVersion: fluxcd.controlplane.io/v1
kind: FluxInstance
spec:
kustomize:
patches:
- patch: |
- op: add
path: /spec/decryption
value:
provider: sops
secretRef:
name: flux-sops
target:
kind: Kustomization
```
For more examples, refer to the [Flux bootstrap documentation](https://fluxcd.io/flux/installation/configuration/).

0 comments on commit a13faee

Please sign in to comment.