Remove namespace from secrets
This commit is contained in:
@@ -15,4 +15,3 @@ spec:
|
|||||||
provider: sops
|
provider: sops
|
||||||
secretRef:
|
secretRef:
|
||||||
name: sops-age
|
name: sops-age
|
||||||
namespace: flux-system
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user