Skip to content

Commit c28926f

Browse files
aabughoshrdavid
andauthored
Crd scaling test (#210)
* add the file to deploy the operator of the crd * add the file to deploy the operator of the crd * add the file to deploy the operator of the crd * upadte the make file install * add creating the crs * add crd scsling to install * add crd scsling to install * add make install * try to fix make install issue * try to fix make install issue * try to fix make install issue * try to fix make install issue * try to fix make install issue * try to fix make install issue * add wait * add wait * add wait * add wait * remove extra space * fail of unit test * fail of unit test * fail of unit test * fail of unit test * unit test still failing * fix git issue * remove dir before cloning * Add new line to the end of the file * Fix quotation --------- Co-authored-by: David Rabkin <[email protected]>
1 parent e822d7c commit c28926f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ install:
2020
./scripts/manage-service.sh deploy
2121
./scripts/deploy-network-policies.sh
2222
./scripts/install-prometheus-operator.sh
23+
./scripts/deploy-operator-crd-scaling.sh
2324

2425
# creates a k8s cluster instance
2526
rebuild-cluster:
@@ -111,3 +112,6 @@ deploy-services:
111112
# delete services
112113
delete-services:
113114
./scripts/manage-service.sh delete
115+
116+
deploy-test-crd-scaling-operator:
117+
./scripts/deploy-operator-crd-scaling.sh
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
4+
SCRIPT_DIR="$(dirname "$0")"
5+
source "$SCRIPT_DIR"/init-env.sh
6+
CRD_SCALING_URL=https://github.com/test-network-function/crd-operator-scaling.git
7+
rm -rf crd-operator-scaling
8+
git clone $CRD_SCALING_URL
9+
## install the operator
10+
cd crd-operator-scaling
11+
## install the crd
12+
13+
14+
make manifests
15+
make install
16+
make deploy IMG=quay.io/testnetworkfunction/crd-operator-scaling:latest
17+
oc wait deployment new-pro-controller-manager -n "$TNF_EXAMPLE_CNF_NAMESPACE" --for=condition=available --timeout=240s
18+
19+
make addrole
20+
kubectl apply -f config/samples --validate=false

0 commit comments

Comments
 (0)