Skip to content

Commit

Permalink
ipam: Remove KMP from git actions lane
Browse files Browse the repository at this point in the history
Lets free some resources, as the nodes of git actions
doesn't have many.

Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Sep 8, 2024
1 parent 9627ae1 commit 8923452
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions automation/components-functests.setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,26 +56,35 @@ EOF
function deploy_cnao_cr {
# Deploy all network addons components with CNAO

cat <<EOF > cr.yaml
if [[ $USE_KUBEVIRTCI == true ]]; then
cat <<EOF > cr.yaml
apiVersion: networkaddonsoperator.network.kubevirt.io/v1
kind: NetworkAddonsConfig
metadata:
name: cluster
spec:
multus: {}
multusDynamicNetworks: {}
linuxBridge: {}
kubeMacPool:
rangeStart: "02:00:00:00:00:00"
rangeEnd: "02:00:00:00:00:0F"
ovs: {}
macvtap: {}
kubeSecondaryDNS: {}
kubevirtIpamController: {}
imagePullPolicy: Always
EOF
else
cat <<EOF > cr.yaml
apiVersion: networkaddonsoperator.network.kubevirt.io/v1
kind: NetworkAddonsConfig
metadata:
name: cluster
spec:
kubevirtIpamController: {}
imagePullPolicy: Always
EOF

if [[ $USE_KUBEVIRTCI == true ]]; then
echo " linuxBridge: {}" >> cr.yaml
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 8923452

Please sign in to comment.