Skip to content

Commit

Permalink
kubevirt: Fix deploying kubevirt on git actions
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Aug 6, 2024
1 parent de0dc5e commit bfa95d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ main() {
cd ${TMP_PROJECT_PATH}
export KUBEVIRT_PROVIDER=external
export DEV_IMAGE_REGISTRY=localhost:5000
./hack/deploy-kubevirt.sh
./cluster/cert-manager-install.sh
deploy_cnao
deploy_cnao_cr
./hack/deploy-kubevirt.sh

cd ${TMP_COMPONENT_PATH}
echo "Run kubevirt-ipam-controller functional tests"
Expand Down
6 changes: 3 additions & 3 deletions automation/components-functests.setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ spec:
kubeMacPool:
rangeStart: "02:00:00:00:00:00"
rangeEnd: "02:00:00:00:00:0F"
ovs: {}
macvtap: {}
kubeSecondaryDNS: {}
kubevirtIpamController: {}
imagePullPolicy: Always
EOF

if [[ $USE_KUBEVIRTCI == true ]]; then
echo " multus: {}" >> cr.yaml
echo " multusDynamicNetworks: {}" >> cr.yaml
echo " ovs: {}" >> cr.yaml
echo " macvtap: {}" >> cr.yaml
echo " kubeSecondaryDNS: {}" >> cr.yaml
fi

cluster/kubectl.sh apply -f cr.yaml
Expand Down

0 comments on commit bfa95d7

Please sign in to comment.