mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 18:44:33 +00:00
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu - remove injected [update.sh] log lines and stray password artifacts so config is executable - include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
23 lines
647 B
Bash
23 lines
647 B
Bash
#!/usr/bin/env bash
|
|
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
|
|
|
|
echo "Waiting for operator to be ready..."
|
|
for i in $(seq 1 20); do
|
|
ready=$(kubectl -n gitlab get pod -l control-plane=controller-manager \
|
|
--no-headers 2>/dev/null | awk '{print $2}')
|
|
echo " [$i] operator: $ready"
|
|
if [[ "$ready" == "1/1" ]]; then
|
|
echo "Operator ready. Relaunching installer..."
|
|
break
|
|
fi
|
|
sleep 15
|
|
done
|
|
|
|
cd /Users/chrisfu/dev/prole
|
|
rm -f install.pid
|
|
mkdir -p logs
|
|
nohup bash install.sh --silent -c conf/service/prole.cfg \
|
|
> logs/install_final3.log 2>&1 &
|
|
disown
|
|
echo "Installer started — tail logs/install_final3.log"
|