forked from k8snetworkplumbingwg/sriov-network-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·30 lines (23 loc) · 847 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
make generate
make manifests
make install
export IMG=docker.io/navadiaev/marvell-sriov-operator:latest
export NAMESPACE=sriov-network-operator
cd config/manager
kustomize edit set image controller=${IMG}
kustomize edit set namespace "${NAMESPACE}"
cd ../../
cd config/default
kustomize edit set namespace "${NAMESPACE}"
cd ../../
#build and push sriov operator
docker build -f Dockerfile -t "navadiaev/marvell-sriov-operator" .
docker push navadiaev/marvell-sriov-operator:latest
#build and push network config
docker build -f Dockerfile.sriov-network-config-daemon -t "navadiaev/marvell-sriov-config" .
docker push navadiaev/marvell-sriov-config:latest
#build and push webhook
docker build -f Dockerfile.webhook -t "navadiaev/marvell-sriov-webhook" .
docker push navadiaev/marvell-sriov-webhook:latest
#deploy to operator
make deploy-setup