Skip to content

Commit 1adda2d

Browse files
committed
fix(workflow): longhorn mount error
1 parent fa77b1c commit 1adda2d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

_scripts/install.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,10 @@ EOF
164164
}
165165

166166
function install_longhorn {
167-
if [[ -n "${LONGHORN_DATA_PATH}" ]] ; then
168-
LONGHORN_DATA_PATH="${LONGHORN_DATA_PATH}/longhorn"
169-
fi
170167
helm install longhorn drycc/longhorn --create-namespace \
171168
--set persistence.defaultClass=true \
172169
--set persistence.defaultClassReplicaCount=1 \
173-
--set defaultSettings.defaultDataPath=${LONGHORN_DATA_PATH:-""} \
170+
--set defaultSettings.defaultDataPath=${LONGHORN_DATA_PATH:-"/var/lib/longhorn"} \
174171
--namespace longhorn-system --wait
175172
}
176173

0 commit comments

Comments
 (0)