Remove namespace from secrets

This commit is contained in:
2024-09-13 20:22:42 +01:00
parent c2cef5506c
commit 5d347be59e
3 changed files with 2 additions and 8 deletions

View File

@@ -15,4 +15,3 @@ spec:
provider: sops provider: sops
secretRef: secretRef:
name: sops-age name: sops-age
namespace: flux-system

View File

@@ -24,9 +24,4 @@ spec:
prune: true prune: true
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
decryption:
provider: sops
secretRef:
name: sops-age
namespace: flux-system

View File

@@ -39,7 +39,7 @@ Add that new public key to the `.sops.yaml`, and push the secret key to the clus
```sh ```sh
cat keys.txt | cat keys.txt |
kubectl create secret generic sops-age \ kubectl create secret generic sops-age \
--namespace=flux-system \ --namespace=apps \
--from-file=keys.txt=/dev/stdin --from-file=keys.txt=/dev/stdin
``` ```