Skip to content

Commit

Permalink
Add cmctl to tools
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmarchione committed Dec 12, 2024
1 parent 8a98dae commit f877161
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/01-setupMasterNode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,17 @@ installHelm() {
rmdir linux-amd64
}

installCmctl() {
message "STATE: Installing cmctl"
sudo curl -sSL --remote-name https://github.com/cert-manager/cmctl/releases/download/v"${VERSION_CMCTL}"/cmctl_linux_amd64
sudo mv cmctl_linux_amd64 /usr/local/bin/cmctl
sudo chmod +x /usr/local/bin/cmctl
}

userCheck
installPackages
installK3s
installHelm
installCmctl

message "STATE: Completed! Copy/paste this command into your terminal: export KUBECONFIG=\$HOME/.kube/config"

0 comments on commit f877161

Please # to comment.