Skip to content

Commit 4e53e96

Browse files
committed
fix linter
1 parent 19297e0 commit 4e53e96

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

plugins/integrations/kubernetes-service/src/main/resources/script/deploy-csi-driver

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,9 @@ if [ -e /opt/csi/snapshot-crds.yaml ]; then
2626
else
2727
TARGET_DIR="/opt/csi"
2828
mkdir -p "$TARGET_DIR"
29-
# CSI_URLS=(
30-
# "https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/snapshot-crds.yaml"
31-
# "https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/manifest.yaml"
32-
# )
3329
CSI_URLS=(
34-
"http://10.0.3.130/cks/csi/snapshot-crds.yaml"
35-
"http://10.0.3.130/cks/csi/manifest.yaml"
30+
"https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/snapshot-crds.yaml"
31+
"https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/manifest.yaml"
3632
)
3733
for url in "${URLS[@]}"; do
3834
filename=$(basename "$url")
@@ -47,4 +43,4 @@ else
4743
exit 0
4844
fi
4945
done
50-
fi
46+
fi

scripts/util/create-kubernetes-binaries-iso.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,8 @@ if [ -n "${9}" ]; then
173173
fi
174174

175175
echo "Including CloudStack CSI Driver manifest"
176-
# TODO: remove the below 2 lines and uncomment the ones below once csi-driver is officially released, this is for testing purposes only
177-
wget http://10.0.3.130/cks/csi/snapshot-crds.yaml -O ${working_dir}/snapshot-crds.yaml
178-
wget http://10.0.3.130/cks/csi/manifest.yaml -O ${working_dir}/manifest.yaml
179-
#wget https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/snapshot-crds.yaml -O ${working_dir}/snapshot-crds.yaml
180-
#wget https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/manifest.yaml -O ${working_dir}/manifest.yaml
176+
wget https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/snapshot-crds.yaml -O ${working_dir}/snapshot-crds.yaml
177+
wget https://github.com/shapeblue/cloudstack-csi-driver/releases/download/v3.0.0/manifest.yaml -O ${working_dir}/manifest.yaml
181178

182179
mkisofs -o "${output_dir}/${build_name}" -J -R -l "${iso_dir}"
183180

0 commit comments

Comments
 (0)