Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
fix copy paste error

Co-authored-by: Davanum Srinivas <[email protected]>
  • Loading branch information
aojea and dims authored Oct 27, 2024
1 parent c031d76 commit 44066ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubetest2-ec2/config/run-kubeadm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ if [[ ${KUBEADM_CONTROL_PLANE} == true ]]; then
sed -i "s|{{KUBERNETES_VERSION}}|$KUBERNETES_VERSION|g" /etc/kubernetes/kubeadm-init.yaml
sed -i "s|{{POD_CIDR}}|$POD_CIDR|g" /etc/kubernetes/kubeadm-init.yaml
KUBE_LOG_LEVEL=${KUBE_LOG_LEVEL:-4}
sed -i "s|{{POD_CIDR}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-init.yaml
sed -i "s|{{POD_CIDR}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-join.yaml
sed -i "s|{{KUBE_LOG_LEVEL}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-init.yaml
sed -i "s|{{KUBE_LOG_LEVEL}}|$KUBE_LOG_LEVEL|g" /etc/kubernetes/kubeadm-join.yaml

kubeadm init \
--v 10 \
Expand Down

0 comments on commit 44066ed

Please sign in to comment.