From 106fba0b0cba12fb21b7a0296c70553ffa2a4e08 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Fri, 13 Aug 2021 21:48:46 +0200
Subject: [PATCH] Fix wrong spec of sops integration
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

I specified the sops integration in the wrong K8s object, no wonder it
didn't work 😅
---
 clusters/okd4/flux-system/gotk-sync.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/clusters/okd4/flux-system/gotk-sync.yaml b/clusters/okd4/flux-system/gotk-sync.yaml
index bf212589c..adf2cf49f 100644
--- a/clusters/okd4/flux-system/gotk-sync.yaml
+++ b/clusters/okd4/flux-system/gotk-sync.yaml
@@ -15,10 +15,6 @@ spec:
     mode: head
     secretRef:
       name: pgp-public-keys
-  decryption:
-    provider: sops
-    secretRef:
-      name: sops-pgp
 ---
 apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
 kind: Kustomization
@@ -33,3 +29,7 @@ spec:
     kind: GitRepository
     name: flux-system
   validation: client
+  decryption:
+    provider: sops
+    secretRef:
+      name: sops-pgp
-- 
GitLab