fluxcd: node red

This commit is contained in:
Márcio Fernandes
2026-06-06 03:09:49 +00:00
parent 244ff73e6e
commit 950b462651
20 changed files with 158 additions and 58 deletions
+15 -13
View File
@@ -1,20 +1,22 @@
# node-red
**Deploy app:**
```bash {cwd=../../}
./services/node-red/ops-scripts/apply-app.sh
```
**Deploy Infra:**
```bash {cwd=../../}
./services/node-red/ops-scripts/apply-infra.sh
```
Create password to add to node-red settings file.
``` bash
#npm install bcryptjs
node -e "console.log(require('bcryptjs').hashSync(process.argv[1], 8));" YOUR-PASSWORD
```
## Setup
Using flux for reconciliation.
``` bash
./ops-scripts/apply-flux.sh
```
**Encrypt secrets:**
``` bash
sops -e deploy/app/limbomox-ssh-secret.dec.yaml > deploy/app/limbomox-ssh-secret.yaml
sops -e deploy/app/node-red-settings-secret.dec.yaml > deploy/app/node-red-settings-secret.yaml
```