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.