Skip to content

Commit

Permalink
typo on --image flag, fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
amcginlay committed Dec 18, 2023
1 parent b73d54e commit af96163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/tlspk-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ create-local-k8s-cluster() {
log-info "Creating a new Kubernetes cluster using k3d on localhost"
newgrp docker << EOF
if sudo lsof -i :80 > /dev/null 2>&1 || sudo lsof -i :443 > /dev/null 2>&1; then
k3d cluster create ${TLSPK_CLUSTER_NAME} --image k3s:${K3D_IMAGE_VERSION} --wait # 80/443 TAKEN, NO LOADBALANCER
k3d cluster create ${TLSPK_CLUSTER_NAME} --image rancher/k3s:${K3D_IMAGE_VERSION} --wait # 80/443 TAKEN, NO LOADBALANCER
else
k3d cluster create ${TLSPK_CLUSTER_NAME} --image k3s:${K3D_IMAGE_VERSION} --wait -p 80:80@loadbalancer -p 443:443@loadbalancer
k3d cluster create ${TLSPK_CLUSTER_NAME} --image rancher/k3s:${K3D_IMAGE_VERSION} --wait -p 80:80@loadbalancer -p 443:443@loadbalancer
fi
k3d kubeconfig merge ${TLSPK_CLUSTER_NAME} --kubeconfig-merge-default --kubeconfig-switch-context
EOF
Expand Down

0 comments on commit af96163

Please sign in to comment.