Skip to content

Commit

Permalink
Switch to new community owned account
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <[email protected]>
  • Loading branch information
dims committed Sep 15, 2023
1 parent 476591e commit cc753e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hack/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ BASE_DIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
source "${BASE_DIR}"/kops.sh
source "${BASE_DIR}"/aws.sh

set -x
env
ls -altr /etc/aws-cred || true
aws --debug sts get-caller-identity

KOPS_USERID=$(whoami)
#detect if run on github and set var accordingly
if [ $CI = true ]
then
REPO_NAME=${REPO_NAME:-aws-iam-authenticator-e2e}
KOPS_STATE_BUCKET=${KOPS_STATE_BUCKET:-k8s-kops-auth-e2e}
KOPS_STATE_BUCKET=${KOPS_STATE_BUCKET:-k8s-kops-auth-shared-e2e}
else
REPO_NAME=${REPO_NAME:-aws-iam-authenticator}
KOPS_STATE_BUCKET=${KOPS_STATE_BUCKET:-k8s-kops-auth-${KOPS_USERID}}
Expand Down

0 comments on commit cc753e6

Please sign in to comment.