Skip to content

Commit 8820056

Browse files
committed
fix makefile
Signed-off-by: kerthcet <[email protected]>
1 parent 522bc96 commit 8820056

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

hack/e2e-test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ function kind_load {
3737
$KIND load docker-image $AGENT_IMAGE_TAG --name $KIND_CLUSTER_NAME
3838
}
3939
function deploy {
40+
# controller
41+
cd $CWD/config/manager && $KUSTOMIZE edit set image controller=$IMAGE_TAG
42+
$KUSTOMIZE build $CWD/test/e2e/config | $KUBECTL apply --server-side -f -
43+
4044
# agent
4145
cd $CWD/agent/config/manager && $KUSTOMIZE edit set image controller=$AGENT_IMAGE_TAG
4246
$KUSTOMIZE build $CWD/agent/config | $KUBECTL apply --server-side -f -
4347

44-
# controller
45-
cd $CWD/config/manager && $KUSTOMIZE edit set image controller=$IMAGE_TAG
46-
$KUSTOMIZE build $CWD/test/e2e/config | $KUBECTL apply --server-side -f -
4748
}
4849
trap cleanup EXIT
4950
startup

0 commit comments

Comments
 (0)