prole/knoe/scripts/install_prole_kubectl.sh
chrisfu 4ee2b259c9 Checkpoint: rename installer to knoe + harden db build context
- Add build-context helper to copy Docker context safely (ignore runtime data, keep symlinks)

- Update UI and core actions to use ~/.prole/build and shared copy helper

- Add/adjust tests and scripts; introduce knoe ops helpers and update manifests

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-22 01:45:21 -07:00

16 lines
332 B
Bash

#!/bin/bash
# Prole Installer: kubectl
# Installs kubectl via Homebrew if missing
set -euo pipefail
echo "[prole] Checking kubectl..."
if ! command -v kubectl >/dev/null 2>&1; then
echo "[prole] Installing kubectl via brew..."
brew install kubectl
else
echo "[prole] kubectl already installed"
fi
echo "[prole] kubectl OK"