mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 19:24:32 +00:00
- Startup/UI: open main window with background; run dependency check on-canvas; hide footer during scan; reveal Next after debounce; add 600ms refresh and 9s failsafe; fixed background image replacement without clearing content. - Canvas helpers: route all canvas calls via installer/screen.py; consistent status drawing. - Installer script externalization: per-dependency templates + validator; compose install_dependencies.sh. - Dependencies: add Ollama and template; install order: brew → ollama → k3d → kubectl → helm → krew → cmctl → plugins. - Cleanup: removed deprecated splash and unused code paths.
18 lines
436 B
Bash
18 lines
436 B
Bash
#!/bin/bash
|
|
# Prole Installer: krew (kubectl plugin manager)
|
|
# Installs krew via Homebrew if kubectl krew is unavailable
|
|
|
|
set -euo pipefail
|
|
|
|
echo "[prole] Checking kubectl krew..."
|
|
if ! kubectl krew version >/dev/null 2>&1; then
|
|
echo "[prole] Installing krew via brew..."
|
|
brew install krew
|
|
echo "[prole] Updating krew index..."
|
|
kubectl krew update || true
|
|
else
|
|
echo "[prole] krew already installed"
|
|
fi
|
|
|
|
echo "[prole] krew OK"
|