From 33d4192871bb7e65998d016293c374e5f176d995 Mon Sep 17 00:00:00 2001 From: Robert Brennan Date: Fri, 6 Mar 2020 16:46:54 +0000 Subject: [PATCH] fix test deploy files --- test/kube_dashboard_test.sh | 2 ++ test/webhook_test.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/kube_dashboard_test.sh b/test/kube_dashboard_test.sh index 0da43b89..8366088b 100755 --- a/test/kube_dashboard_test.sh +++ b/test/kube_dashboard_test.sh @@ -1,4 +1,6 @@ sed -ri "s|'(quay.io/fairwinds/polaris:).+'|'\1${CIRCLE_SHA1}'|" ./deploy/dashboard.yaml +# TODO: remove this after 1.0 is released +sed -i "s/--dashboard/dashboard/" ./deploy/dashboard.yaml function check_dashboard_is_ready() { diff --git a/test/webhook_test.sh b/test/webhook_test.sh index 9909ad32..276c3d64 100755 --- a/test/webhook_test.sh +++ b/test/webhook_test.sh @@ -3,6 +3,8 @@ set -e #sed is replacing the polaris version with this commit sha so we are testing exactly this verison. sed -ri "s|'(quay.io/fairwinds/polaris:).+'|'\1${CIRCLE_SHA1}'|" ./deploy/webhook.yaml +# TODO: remove this after 1.0 is released +sed -i "s/--webhook/webhook/" ./deploy/webhook.yaml # Testing to ensure that the webhook starts up, allows a correct deployment to pass, # and prevents a incorrectly formatted deployment.