Skip to content

Commit

Permalink
ci: fix missing longhorn-system namespace during iscsi installation
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <yang.chiu@suse.com>
  • Loading branch information
yangchiu committed Sep 6, 2024
1 parent 1b3f927 commit af58302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_framework/scripts/longhorn-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ run_longhorn_tests(){
main(){
set_kubeconfig

create_longhorn_namespace

if [[ ${DISTRO} == "rhel" ]] || [[ ${DISTRO} == "rockylinux" ]] || [[ ${DISTRO} == "oracle" ]]; then
apply_selinux_workaround
fi
Expand All @@ -512,7 +514,6 @@ main(){
install_iscsi
install_cluster_autoscaler
fi
create_longhorn_namespace
if [[ ${PYTEST_CUSTOM_OPTIONS} != *"--include-cluster-autoscaler-test"* ]]; then
install_backupstores
fi
Expand Down

0 comments on commit af58302

Please sign in to comment.