From 653a733a4b49d5377cd0bba9583aa8482d271048 Mon Sep 17 00:00:00 2001 From: shivdudhani Date: Wed, 8 May 2019 07:38:42 -0700 Subject: [PATCH] code review changes: undo scripts --- scripts/compile-image.sh | 2 +- scripts/deploy-controller.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/compile-image.sh b/scripts/compile-image.sh index f46d28bb1c..1f13b7efc6 100755 --- a/scripts/compile-image.sh +++ b/scripts/compile-image.sh @@ -22,4 +22,4 @@ tag="${hub_user_name}/${project_name}:${version}" docker build --no-cache -t "${tag}" . || exit 4 echo "# Pushing image to repository..." -#docker push "${tag}" || exit 5 +docker push "${tag}" || exit 5 diff --git a/scripts/deploy-controller.sh b/scripts/deploy-controller.sh index 6fd13566c4..ff9bd3f0d5 100755 --- a/scripts/deploy-controller.sh +++ b/scripts/deploy-controller.sh @@ -37,9 +37,6 @@ if [ -z "${namespace}" ]; then # controller should be launched locally kubectl delete -f definitions/MutatingWebhookConfiguration_debug.yaml kubectl create -f definitions/MutatingWebhookConfiguration_debug.yaml || exit 3 -# kubectl delete -f definitions/PolicyValidationConfiguration.yaml -# kubectl create -f definitions/PolicyValidationConfiguration.yaml || exit 3 - kubectl delete -f definitions/install.yaml kubectl create -f definitions/install.yaml || exit 3