Add dedicated operator Git identity
This commit is contained in:
@@ -6,6 +6,12 @@ install -d -m 0700 /etc/mike-ai
|
||||
if [[ ! -e /etc/mike-ai/athena-operator.env ]]; then
|
||||
install -m 0600 "$ROOT/config/athena-operator.env.example" /etc/mike-ai/athena-operator.env
|
||||
fi
|
||||
if [[ ! -e /etc/mike-ai/athena-operator-git ]]; then
|
||||
ssh-keygen -q -t ed25519 -N '' -C athena-operator \
|
||||
-f /etc/mike-ai/athena-operator-git
|
||||
fi
|
||||
chmod 0600 /etc/mike-ai/athena-operator-git
|
||||
chmod 0644 /etc/mike-ai/athena-operator-git.pub
|
||||
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 -m 0755 "$ROOT/platform/operator/athena_operatord.py" /usr/local/libexec/mike-ai-athena-operatord
|
||||
|
||||
Reference in New Issue
Block a user