Moved sops patch to separate file

This commit is contained in:
Dreaded_X 2024-11-18 23:47:47 +01:00
parent b8358572cf
commit 2bca9e7288
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 11 additions and 10 deletions

View File

@ -4,13 +4,4 @@ resources:
- gotk-components.yaml
- gotk-sync.yaml
patches:
- patch: |
- op: add
path: /spec/decryption
value:
provider: sops
secretRef:
name: sops-gpg
target:
kind: Kustomization
name: "flux-system"
- path: sops-overlay.yaml

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
decryption:
provider: sops
secretRef:
name: sops-gpg