From 428da5c8c308ea7feff08c8ce9ec9bd65f24c790 Mon Sep 17 00:00:00 2001 From: Conan Scott Date: Sun, 12 Apr 2026 11:40:34 +0000 Subject: [PATCH] Fix gateway.token path: write to gateway.auth.token (correct location), not gateway.token --- manifests/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index ef4c741..b80df95 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -35,9 +35,10 @@ spec: const fs = require('fs'); const d = JSON.parse(fs.readFileSync(process.env.HOME + '/.openclaw/openclaw.json', 'utf8')); - // Gateway token — must be in openclaw.json for channel auth to work + // Gateway token — must be in gateway.auth.token for channel auth to work if (!d.gateway) d.gateway = {}; - if (!d.gateway.token) d.gateway.token = process.env.OPENCLAW_GATEWAY_TOKEN; + if (!d.gateway.auth) d.gateway.auth = {}; + if (!d.gateway.auth.token) d.gateway.auth.token = process.env.OPENCLAW_GATEWAY_TOKEN; // Hooks token if (!d.hooks) d.hooks = {};