Files
open-cluster-management/hack/copy-crds.sh
2022-02-24 07:57:40 -05:00

17 lines
336 B
Bash
Executable File

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