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
secretRef:
name: sops-age
namespace: flux-system

View File

@@ -25,8 +25,3 @@ spec:
sourceRef:
kind: GitRepository
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
cat keys.txt |
kubectl create secret generic sops-age \
--namespace=flux-system \
--namespace=apps \
--from-file=keys.txt=/dev/stdin
```