Skip to content

Commit 4b81b08

Browse files
committed
deploy: remove CRD installation
That this isn't really needed was pointed out during the review of PR kubernetes-csi#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.
1 parent bcd0535 commit 4b81b08

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

deploy/util/deploy-hostpath.sh

-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ set -e
1212
set -o pipefail
1313

1414
BASE_DIR=$(dirname "$0")
15-
K8S_RELEASE=${K8S_RELEASE:-"release-1.13"}
1615

1716
# If set, the following env variables override image registry and/or tag for each of the images.
1817
# They are named after the image name, with hyphen replaced by underscore and in upper case.
@@ -88,13 +87,6 @@ run () {
8887
"$@"
8988
}
9089

91-
# apply CSIDriver and CSINodeInfo API objects
92-
if [[ "${INSTALL_CRD}" =~ ^(y|Y|yes|true)$ ]] ; then
93-
echo "installing CRDs"
94-
run kubectl apply -f https://raw.githubusercontent.com/kubernetes/csi-api/${K8S_RELEASE}/pkg/crd/manifests/csidriver.yaml --validate=false
95-
run kubectl apply -f https://raw.githubusercontent.com/kubernetes/csi-api/${K8S_RELEASE}/pkg/crd/manifests/csinodeinfo.yaml --validate=false
96-
fi
97-
9890
# rbac rules
9991
echo "applying RBAC rules"
10092
for component in CSI_PROVISIONER CSI_ATTACHER CSI_SNAPSHOTTER; do

0 commit comments

Comments
 (0)