fix: use valid kube-vip log flag value
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s

kube-vip expects an unsigned integer for --log. Replace --log -4 with --log 4 so manifest generation no longer fails during bootstrap.
This commit is contained in:
2026-03-03 00:25:25 +00:00
parent 6fecfb3ee6
commit 51b56e562e

View File

@@ -184,7 +184,7 @@ in
echo "==> Creating kube-vip static pod manifest"
ctr image pull "${kubeVipImage}"
ctr run --rm --net-host "${kubeVipImage}" kube-vip-manifest /kube-vip manifest pod \
--log -4 \
--log 4 \
--interface "$iface" \
--address "$vip" \
--controlplane \
@@ -296,7 +296,7 @@ in
mkdir -p /etc/kubernetes/manifests
ctr image pull "${kubeVipImage}"
ctr run --rm --net-host "${kubeVipImage}" kube-vip /kube-vip manifest pod \
--log -4 \
--log 4 \
--interface "$iface" \
--address "$vip" \
--controlplane \