Skip to content

Commit

Permalink
Adapt to ipam-controller renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shoval <[email protected]>
(cherry picked from commit 2b64f10)
Signed-off-by: Enrique Llorente <[email protected]>
  • Loading branch information
oshoval authored and qinqon committed Sep 11, 2024
1 parent 2972fc1 commit 2a570ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions contrib/kind-common
Original file line number Diff line number Diff line change
Expand Up @@ -373,14 +373,14 @@ install_kubevirt() {
chmod +x ./bin/virtctl
}

install_kubevirt_ipam_claims() {
install_kubevirt_ipam_controller() {
local cert_manager_version="v1.14.4"
echo "Installing cert-manager ..."
manifest="https://github.com/cert-manager/cert-manager/releases/download/${cert_manager_version}/cert-manager.yaml"
run_kubectl apply -f "$manifest"

echo "Installing KubeVirt IPAM manager ..."
manifest="https://raw.githubusercontent.com/maiqueb/kubevirt-ipam-claims/main/dist/install.yaml"
echo "Installing KubeVirt IPAM controller manager ..."
manifest="https://raw.githubusercontent.com/kubevirt/ipam-extensions/main/dist/install.yaml"
run_kubectl apply -f "$manifest"
kubectl wait -n kubevirt-ipam-claims-system deployment kubevirt-ipam-claims-controller-manager --for condition=Available --timeout 2m
kubectl wait -n kubevirt-ipam-controller-system deployment kubevirt-ipam-controller-manager --for condition=Available --timeout 2m
}
2 changes: 1 addition & 1 deletion contrib/kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1193,5 +1193,5 @@ if [ "$KIND_INSTALL_PLUGINS" == true ]; then
fi
if [ "$KIND_INSTALL_KUBEVIRT" == true ]; then
install_kubevirt
install_kubevirt_ipam_claims
install_kubevirt_ipam_controller
fi

0 comments on commit 2a570ff

Please sign in to comment.