Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
biplamal committed Feb 20, 2024
1 parent e2def4d commit 55dd206
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,21 +203,22 @@ get_meshnet() {
&& cd ${oldpwd}
}

get_keng_operator_offline_image() {
get_keng_operator_image() {
if [ -f "$KENG_OPERATOR_IMAGE_FILE" ];
then
echo "Operator tar found...."
docker load -i $KENG_OPERATOR_IMAGE_FILE
kind load docker-image "$(keng_operator_image)"
else
echo "Operator tar not found!!!"
echo "Operator tar not found!!!"\
load_image_to_kind $(keng_operator_image)
fi
}

get_keng_operator() {
echo "Installing keng-operator ${KENG_OPERATOR_YAML} ..."
cat ${KENG_OPERATOR_YAML}
get_keng_operator_offline_image \
&& load_image_to_kind $(keng_operator_image) \
get_keng_operator_image \
&& kubectl apply -f ${KENG_OPERATOR_YAML} \
&& wait_for_pods ixiatg-op-system \
&& kubectl get pods -A
Expand Down

0 comments on commit 55dd206

Please sign in to comment.