diff --git a/platform-engineer/deployment.yaml b/platform-engineer/deployment.yaml index eff1fae..2221040 100644 --- a/platform-engineer/deployment.yaml +++ b/platform-engineer/deployment.yaml @@ -125,6 +125,13 @@ spec: env: - name: HERMES_HOME value: /opt/data + # Hermes' file-write tool refuses any path outside HERMES_WRITE_SAFE_ROOT. + # When unset it defaults to HERMES_HOME (/opt/data), which blocks the + # agent's only GitOps remediation path (editing manifests under + # /workspace/k3s-cluster). Whitelist the whole filesystem — consistent + # with yolo:true, approvals.mode:off, and the agent having no k8s RBAC. + - name: HERMES_WRITE_SAFE_ROOT + value: "/" volumeMounts: - name: data mountPath: /opt/data