helm install

This commit is contained in:
Harivansh Rathi 2026-02-07 20:05:55 -05:00
parent f3abdfe7b8
commit 44fe1e1f5c
4 changed files with 90 additions and 4 deletions

26
scripts/download-crds.sh Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -euo pipefail
# Download agent-sandbox CRDs into chart/agentikube/crds/
# Run this before packaging the chart: make crds
REPO="kubernetes-sigs/agent-sandbox"
BRANCH="main"
BASE_URL="https://raw.githubusercontent.com/${REPO}/${BRANCH}/k8s/crds"
DEST="$(cd "$(dirname "$0")/.." && pwd)/chart/agentikube/crds"
CRDS=(
sandboxtemplates.yaml
sandboxclaims.yaml
sandboxwarmpools.yaml
)
echo "Downloading CRDs from ${REPO}@${BRANCH} ..."
mkdir -p "$DEST"
for crd in "${CRDS[@]}"; do
echo " ${crd}"
curl -sSfL "${BASE_URL}/${crd}" -o "${DEST}/${crd}"
done
echo "CRDs written to ${DEST}"