Skip to content

Commit

Permalink
removing all s3 suffix references
Browse files Browse the repository at this point in the history
  • Loading branch information
odra committed Mar 8, 2019
1 parent 3b87390 commit 94b1728
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions image/tools/lib/backend/s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`"
}
Expand All @@ -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)"

Expand Down

0 comments on commit 94b1728

Please sign in to comment.