fix(openclaw): change agent workspace from /workspace/infra to /workspace

Keeps infra repo as a subdirectory, allows OpenClaw to write to /workspace directly.
This commit is contained in:
Viktor Barzin 2026-03-19 23:32:28 +00:00
parent fd207f4db5
commit 6b8ce04d44

View file

@ -122,7 +122,7 @@ resource "kubernetes_config_map" "openclaw_config" {
defaults = { defaults = {
contextTokens = 1000000 contextTokens = 1000000
bootstrapMaxChars = 30000 bootstrapMaxChars = 30000
workspace = "/workspace/infra" workspace = "/workspace"
sandbox = { sandbox = {
mode = "off" mode = "off"
} }
@ -158,7 +158,7 @@ resource "kubernetes_config_map" "openclaw_config" {
host = "gateway" host = "gateway"
security = "full" security = "full"
ask = "off" ask = "off"
pathPrepend = ["/tools", "/workspace/infra"] pathPrepend = ["/tools", "/workspace"]
} }
web = { web = {
search = { search = {