Config update
Update memorix k8s configmap or secret, then restart the affected deployment. Usage: /config-update [key=value ...] or /config-update secret [key=value ...].From its SKILL.md
npx -y skills add DeviosLang/memorix --skill config-updateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, as published. Nobody here has run it
/config-update — Update configuration and restart
Update memorix ConfigMap or Secret in rag-etl namespace, then restart the affected deployment.
Arguments
key=valuepairs → update ConfigMapmemorix-configsecret key=valuepairs → update Secretmemorix-secrets- No arguments → show current config values
Steps
1. Show current config (if no arguments)
kubectl -n rag-etl get configmap memorix-config -o yaml
For secrets (keys only, no values):
kubectl -n rag-etl get secret memorix-secrets -o jsonpath='{.data}' | python3 -c "import sys,json; print('\n'.join(json.loads(sys.stdin.read()).keys()))"
2. Update config (if arguments provided)
ConfigMap update:
kubectl -n rag-etl get configmap memorix-config -o json | \
python3 -c "
import sys, json
cm = json.load(sys.stdin)
updates = {<key>: <value> for each provided pair}
cm['data'].update(updates)
json.dump(cm, sys.stdout)
" | kubectl apply -f -
Secret update:
kubectl -n rag-etl get secret memorix-secrets -o json | \
python3 -c "
import sys, json, base64
s = json.load(sys.stdin)
updates = {<key>: base64.b64encode(<value>.encode()).decode() for each pair}
s['data'].update(updates)
json.dump(s, sys.stdout)
" | kubectl apply -f -
3. Restart affected deployment
ConfigMap changes affect memorix server:
kubectl -n rag-etl rollout restart deploy/memorix
4. Wait for ready
Poll until the new pod is 1/1 Running (max 60s).
5. Health check
POD=$(kubectl -n rag-etl get pod -l k8s-app=memorix -o jsonpath='{.items[0].metadata.name}')
kubectl -n rag-etl exec "$POD" -- wget -q -O- http://localhost:8080/healthz
6. Report
- Which keys were updated
- Deployment restart status
- ✅ / ❌ healthz result