Merge pull request 'fix: avoid sudo env loss for kube-vip image reference' (#77) from stage into master
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 20m59s
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 20m59s
Reviewed-on: #77
This commit was merged in pull request #77.
This commit is contained in:
@@ -128,9 +128,9 @@ in
|
||||
echo "Using kube-vip interface: $iface"
|
||||
|
||||
mkdir -p /etc/kubernetes/manifests
|
||||
ctr image pull "$KUBE_VIP_IMAGE"
|
||||
ctr image pull "${kubeVipImage}"
|
||||
|
||||
ctr run --rm --net-host "$KUBE_VIP_IMAGE" kube-vip /kube-vip manifest pod \
|
||||
ctr run --rm --net-host "${kubeVipImage}" kube-vip /kube-vip manifest pod \
|
||||
--interface "$iface" \
|
||||
--address "$vip" \
|
||||
--controlplane \
|
||||
@@ -184,8 +184,8 @@ in
|
||||
vip="$subnet_prefix.$suffix"
|
||||
|
||||
mkdir -p /etc/kubernetes/manifests
|
||||
ctr image pull "$KUBE_VIP_IMAGE"
|
||||
ctr run --rm --net-host "$KUBE_VIP_IMAGE" kube-vip /kube-vip manifest pod \
|
||||
ctr image pull "${kubeVipImage}"
|
||||
ctr run --rm --net-host "${kubeVipImage}" kube-vip /kube-vip manifest pod \
|
||||
--interface "$iface" \
|
||||
--address "$vip" \
|
||||
--controlplane \
|
||||
|
||||
Reference in New Issue
Block a user