build: remove helm init from deploy.sh

from helm v3.x version there is no helm init
command. Removing the helm init which was causing
helm chart pushing issue in release and devel
branch.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6508726276)
This commit is contained in:
Madhu Rajanna 2021-04-22 11:14:13 +05:30 committed by mergify[bot]
parent 58641250f8
commit 47707b79d9

View File

@ -28,7 +28,6 @@ push_helm_charts() {
mkdir -p "$CHARTDIR/csi-charts/docs/$PACKAGE" mkdir -p "$CHARTDIR/csi-charts/docs/$PACKAGE"
cp -R "./charts/ceph-csi-$PACKAGE" "$CHARTDIR/csi-charts/docs/$PACKAGE" cp -R "./charts/ceph-csi-$PACKAGE" "$CHARTDIR/csi-charts/docs/$PACKAGE"
pushd "$CHARTDIR/csi-charts/docs/$PACKAGE" >/dev/null pushd "$CHARTDIR/csi-charts/docs/$PACKAGE" >/dev/null
helm init --client-only
helm package "ceph-csi-$PACKAGE" helm package "ceph-csi-$PACKAGE"
popd >/dev/null popd >/dev/null