From 5d347be59e91c5af0040604a2de847f4f1fa5526 Mon Sep 17 00:00:00 2001 From: Joe Monk Date: Fri, 13 Sep 2024 20:22:42 +0100 Subject: [PATCH] Remove namespace from secrets --- clusters/kairos/apps/fluxrepo.yaml | 1 - clusters/kairos/flux-system/gotk-sync.yaml | 7 +------ readme.md | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/clusters/kairos/apps/fluxrepo.yaml b/clusters/kairos/apps/fluxrepo.yaml index 2a81b24..aea4a6d 100644 --- a/clusters/kairos/apps/fluxrepo.yaml +++ b/clusters/kairos/apps/fluxrepo.yaml @@ -15,4 +15,3 @@ spec: provider: sops secretRef: name: sops-age - namespace: flux-system diff --git a/clusters/kairos/flux-system/gotk-sync.yaml b/clusters/kairos/flux-system/gotk-sync.yaml index 2115c57..967c868 100644 --- a/clusters/kairos/flux-system/gotk-sync.yaml +++ b/clusters/kairos/flux-system/gotk-sync.yaml @@ -24,9 +24,4 @@ spec: prune: true sourceRef: kind: GitRepository - name: flux-system - decryption: - provider: sops - secretRef: - name: sops-age - namespace: flux-system + name: flux-system \ No newline at end of file diff --git a/readme.md b/readme.md index bc9894c..43697ed 100644 --- a/readme.md +++ b/readme.md @@ -39,7 +39,7 @@ Add that new public key to the `.sops.yaml`, and push the secret key to the clus ```sh cat keys.txt | kubectl create secret generic sops-age \ ---namespace=flux-system \ +--namespace=apps \ --from-file=keys.txt=/dev/stdin ```