From 02a3c5daf168d6077a95dd402970af784f20c3c2 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sun, 28 Jul 2024 12:11:33 +1000 Subject: [PATCH] update CRDs installation script --- scripts/5.install-crds.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/5.install-crds.sh b/scripts/5.install-crds.sh index 7c63ef9..42fdb14 100644 --- a/scripts/5.install-crds.sh +++ b/scripts/5.install-crds.sh @@ -3,12 +3,20 @@ set -e # CRDs for the kubernetes-sigs' Application CRD echo "Installing CRDs for the kubernetes-sigs' Application CRD..." -kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/bases/app.k8s.io_applications.yaml -kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/patches/cainjection_in_applications.yaml -kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/patches/webhook_in_applications.yaml +#kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/bases/app.k8s.io_applications.yaml +#kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/patches/cainjection_in_applications.yaml +#kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/patches/webhook_in_applications.yaml # CRDs for the Intel GPU Device Plugin -echo "Installing CRDs for the Intel GPU Device Plugin..." +echo "Installing CRDs for the Intel Helm Charts..." +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_dlbdeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_dsadeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_fpgadeviceplugins.yaml kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_gpudeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_iaadeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_qatdeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/deviceplugin.intel.com_sgxdeviceplugins.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/fpga.intel.com_acceleratorfunctions.yaml +kubectl apply -f https://raw.githubusercontent.com/intel/helm-charts/main/charts/device-plugin-operator/crds/fpga.intel.com_fpgaregions.yaml echo "The CRDs installed." \ No newline at end of file