fix: openclaw task-processor use internal Forgejo URL
The task-processor CronJob was failing every 5min because it used https://forgejo.viktorbarzin.me (external, via Cloudflare tunnel) which is unreachable from within the cluster. Changed to http://forgejo.forgejo.svc.cluster.local (internal ClusterIP).
This commit is contained in:
parent
b2b036ffd4
commit
f0eb4fae8b
1 changed files with 1 additions and 0 deletions
|
|
@ -981,6 +981,7 @@ resource "kubernetes_cron_job_v1" "task_processor" {
|
|||
echo "Executing task processor in pod $POD..."
|
||||
kubectl exec -n openclaw "$POD" -c openclaw -- \
|
||||
env FORGEJO_TOKEN="$FORGEJO_TOKEN" \
|
||||
FORGEJO_URL="http://forgejo.forgejo.svc.cluster.local" \
|
||||
OPENCLAW_TOKEN="$OPENCLAW_TOKEN" \
|
||||
OPENCLAW_URL="https://integrate.api.nvidia.com" \
|
||||
bash /workspace/infra/scripts/task-processor.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue