From 580e65a41ff400479657f181f5d91e9803db2a27 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 27 Jul 2024 03:40:16 +1000 Subject: [PATCH] add script to install the CRDs --- scripts/5.install-crds.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/5.install-crds.sh b/scripts/5.install-crds.sh index 38c9465..7c63ef9 100644 --- a/scripts/5.install-crds.sh +++ b/scripts/5.install-crds.sh @@ -3,7 +3,9 @@ set -e # CRDs for the kubernetes-sigs' Application CRD echo "Installing CRDs for the kubernetes-sigs' Application CRD..." -kubectl apply -k https://raw.githubusercontent.com/kubernetes-sigs/application/master/config/crd/kustomization.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..."