mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- 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>
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"
|