Files
open-cluster-management/hack/copy-crds.sh
2020-10-15 22:06:28 +08:00

17 lines
324 B
Bash
Executable File

#!/bin/bash
source "$(dirname "${BASH_SOURCE}")/init.sh"
for f in $HUB_CRD_FILES
do
cp $f ./manifests/cluster-manager/
done
for f in $SPOKE_CRD_FILES
do
cp $f ./manifests/klusterlet/
done
cp $CLUSTER_MANAGER_CRD_FILE ./deploy/cluster-manager/config/crds/
cp $KLUSTERLET_CRD_FILE ./deploy/klusterlet/config/crds/