From 2115daa3177b1e877e08ecedecbdc7a73f110bb1 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Wed, 9 Mar 2022 09:14:41 +0530 Subject: [PATCH] core: refactor webhook config and related script This commit refactor webhook config by adding/removing spaces. Also, moved the Issue and Certificate creation from bash script to webhook config yaml. Signed-off-by: subhamkrai --- tests/scripts/deploy_admission_controller.sh | 38 +++------------- tests/scripts/webhook-config.yaml | 47 +++++++++++++++----- 2 files changed, 40 insertions(+), 45 deletions(-) diff --git a/tests/scripts/deploy_admission_controller.sh b/tests/scripts/deploy_admission_controller.sh index 066627436..97ea91aab 100755 --- a/tests/scripts/deploy_admission_controller.sh +++ b/tests/scripts/deploy_admission_controller.sh @@ -81,38 +81,10 @@ EOF echo "Successfully deployed cert-manager" -echo "Creating Issuer and Certificate" -cat <