mirror of
https://github.com/harivansh-afk/agentikube.git
synced 2026-04-15 08:03:41 +00:00
helm install
This commit is contained in:
parent
f3abdfe7b8
commit
44fe1e1f5c
4 changed files with 90 additions and 4 deletions
26
scripts/download-crds.sh
Executable file
26
scripts/download-crds.sh
Executable 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}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue