Skip to content

Commit 8333f59

Browse files
committed
chore(workflow): disable local-storage
1 parent 55db612 commit 8333f59

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

_scripts/install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ EOF
6969

7070
function install_k3s_server {
7171
pre_install_k3s
72-
INSTALL_K3S_EXEC="server ${INSTALL_K3S_EXEC} --flannel-backend=none --disable=traefik --disable=servicelb --cluster-cidr=10.233.0.0/16"
72+
INSTALL_K3S_EXEC="server ${INSTALL_K3S_EXEC} --flannel-backend=none --disable=traefik --disable=local-storage --disable=servicelb --cluster-cidr=10.233.0.0/16"
7373
if [[ -z "${K3S_URL}" ]] ; then
7474
INSTALL_K3S_EXEC="$INSTALL_K3S_EXEC --cluster-init"
7575
fi
@@ -103,7 +103,6 @@ EOF
103103
}
104104

105105
function install_longhorn {
106-
kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
107106
helm install longhorn drycc/longhorn --create-namespace \
108107
--set persistence.defaultClass=true \
109108
--set persistence.defaultClassReplicaCount=1 \

0 commit comments

Comments
 (0)