From 4b81b083ae3a7c8772058b748da28c98e77b678f Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 2 Apr 2019 08:28:42 +0200 Subject: [PATCH] deploy: remove CRD installation That this isn't really needed was pointed out during the review of PR #29 and the code was already meant to be removed in the previous commit, but then it came back when resolving a merge conflict during rebasing. --- deploy/util/deploy-hostpath.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/deploy/util/deploy-hostpath.sh b/deploy/util/deploy-hostpath.sh index bbdb7e7b8..c1edf0a63 100755 --- a/deploy/util/deploy-hostpath.sh +++ b/deploy/util/deploy-hostpath.sh @@ -12,7 +12,6 @@ set -e set -o pipefail BASE_DIR=$(dirname "$0") -K8S_RELEASE=${K8S_RELEASE:-"release-1.13"} # If set, the following env variables override image registry and/or tag for each of the images. # They are named after the image name, with hyphen replaced by underscore and in upper case. @@ -88,13 +87,6 @@ run () { "$@" } -# apply CSIDriver and CSINodeInfo API objects -if [[ "${INSTALL_CRD}" =~ ^(y|Y|yes|true)$ ]] ; then - echo "installing CRDs" - run kubectl apply -f https://raw.githubusercontent.com/kubernetes/csi-api/${K8S_RELEASE}/pkg/crd/manifests/csidriver.yaml --validate=false - run kubectl apply -f https://raw.githubusercontent.com/kubernetes/csi-api/${K8S_RELEASE}/pkg/crd/manifests/csinodeinfo.yaml --validate=false -fi - # rbac rules echo "applying RBAC rules" for component in CSI_PROVISIONER CSI_ATTACHER CSI_SNAPSHOTTER; do