new file: docs/fluxcd.md

This commit is contained in:
Márcio Fernandes
2026-06-05 01:10:40 +00:00
parent 0b399ca527
commit 41490b517c
+19
View File
@@ -0,0 +1,19 @@
# fluxcd
## age / sops
**Create key and Import:**
``` bash
NAMESPACE=ns-name
AGE_FILE=deploy/flux/.env.d/age.agekey
SECRET_NAME=flux-sops-age
# creates age key
age-keygen -o ${AGE_FILE}
# imports to an namespace
cat ${AGE_FILE} |
kubectl create secret generic ${SECRET_NAME} \
--namespace=${NAMESPACE} \
--from-file=age.agekey=/dev/stdin
```