Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion baremetal/k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
set -e

K3S_INSTALL_URL="https://get.k3s.io"
K3S_VERSION="v1.34.5+k3s1"
K3S_BIN="/usr/local/bin/k3s"
KUBECONFIG="$HOME/.kube/config"

Expand All @@ -22,7 +23,7 @@ check_sudo() {

install_k3s() {
echo "Installing K3s..."
curl -sfL $K3S_INSTALL_URL | sudo sh -
curl -sfL $K3S_INSTALL_URL | INSTALL_K3S_VERSION="${K3S_VERSION}" sudo -E sh -
echo "K3s installed."

# Make kubeconfig usable without sudo
Expand Down
Loading