chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:17:40 +08:00
commit f1825c8ceb
10096 changed files with 2364182 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
set -euo pipefail
# Clone pinned KubeRay commit to temporary directory, copy the CRD definitions
# into the autoscaler folder.
KUBERAY_BRANCH="v1.6.0"
OPERATOR_TAG="v1.6.0"
# Requires Kustomize
if ! command -v kustomize &> /dev/null
then
echo "Please install kustomize. Then re-run this script."
exit
fi
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
DIR=$(mktemp -d -t "kuberay-XXXXXX")
(
cd "$DIR"
git clone https://github.com/ray-project/kuberay/ --branch "$KUBERAY_BRANCH" --depth 1
(
cd kuberay/ray-operator/config/default
kustomize edit set image kuberay/operator=quay.io/kuberay/operator:"$OPERATOR_TAG"
kustomize edit set namespace kuberay-system
)
cp -r kuberay/ray-operator/config "$SCRIPT_DIR/"
)