Skip to content

Commit

Permalink
ipam: Fix script
Browse files Browse the repository at this point in the history
Use kubectl directly so it wont try to cluster install

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Sep 9, 2024
1 parent 03881f8 commit 8f62ec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ main() {
cd ${TMP_PROJECT_PATH}
export KUBEVIRT_PROVIDER=external
export DEV_IMAGE_REGISTRY=localhost:5000
kubectl get pods -A
./cluster/cert-manager-install.sh
deploy_cnao
deploy_cnao_cr
./hack/deploy-kubevirt.sh
./cluster/kubectl.sh -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"virtualMachineOptions":{"disableSerialConsoleLog":{}}}}}'
kubectl -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"virtualMachineOptions":{"disableSerialConsoleLog":{}}}}}'

cd ${TMP_COMPONENT_PATH}
echo "Run kubevirt-ipam-controller functional tests"
Expand Down
2 changes: 1 addition & 1 deletion cluster/cert-manager-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ if [[ $DEPLOY_CERT_MANAGER == true ]]; then
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"
./cluster/kubectl.sh apply -f "$manifest"
kubectl apply -f "$manifest" --validate=false
fi

0 comments on commit 8f62ec2

Please sign in to comment.