From 94b1728872e84c1a689e5ed675b6045b7be2f2a1 Mon Sep 17 00:00:00 2001 From: odra Date: Fri, 8 Mar 2019 14:49:57 +0000 Subject: [PATCH] removing all s3 suffix references --- image/tools/lib/backend/s3.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/image/tools/lib/backend/s3.sh b/image/tools/lib/backend/s3.sh index 4e55ddf..e994025 100644 --- a/image/tools/lib/backend/s3.sh +++ b/image/tools/lib/backend/s3.sh @@ -11,10 +11,6 @@ function get_s3_bucket_name { echo "`oc get secret -n default ${BACKEND_SECRET_NAME} -o jsonpath='{.data.AWS_S3_BUCKET_NAME}' | base64 --decode`" } -function get_s3_bucket_suffix { - echo "`oc get secret -n default ${BACKEND_SECRET_NAME} -o jsonpath='{.data.AWS_S3_BUCKET_SUFFIX}' | base64 --decode`" -} - function get_s3_key_id { echo "`oc get secret -n default ${BACKEND_SECRET_NAME} -o jsonpath='{.data.AWS_ACCESS_KEY_ID}' | base64 --decode`" } @@ -35,7 +31,6 @@ function upload_archive { local bucket_folder=$3 local AWS_S3_BUCKET_NAME=$(get_s3_bucket_name) - local AWS_S3_BUCKET_SUFFIX="$(get_s3_bucket_suffix)" local AWS_ACCESS_KEY_ID="$(get_s3_key_id)" local AWS_SECRET_ACCESS_KEY="$(get_s3_access_key)"