forked from roger/k3s-cluster
fix hermes write folder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user