Simplify Athena operator architecture

This commit is contained in:
Mikei386
2026-08-25 21:53:12 +02:00
parent c25e57af57
commit 0a640e76ea
22 changed files with 577 additions and 1522 deletions
+8 -1
View File
@@ -15,7 +15,14 @@ chmod 0644 /etc/mike-ai/athena-operator-git.pub
install -m 0644 "$ROOT/config/athena-operator-known-hosts" \
/etc/mike-ai/athena-operator-known-hosts
install -d -m 0750 -o root -g 10003 /run/mike-ai-operator
install -d -m 0700 /data/mike-ai-operator/state /data/mike-ai-operator/repository
install -d -m 0700 /data/mike-ai-operator/state /data/mike-ai-operator/staging
[[ -d "$ROOT/.git" ]] || {
echo "Der laufende Stack muss ein Git-Checkout sein: $ROOT" >&2
exit 1
}
# Read-only MCP containers need to traverse the stack directory. Secrets are
# stored separately in /etc/mike-ai and are not exposed by this permission.
chmod 0755 "$ROOT"
install -m 0755 "$ROOT/platform/operator/athena_operatord.py" /usr/local/libexec/mike-ai-athena-operatord
install -m 0644 "$ROOT/platform/operator/athena-operator.service" /etc/systemd/system/mike-ai-athena-operator.service
systemctl daemon-reload