Skip to content

Commit

Permalink
Merge branch 'master' into feat/karpenter-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
emalinowski authored Apr 29, 2024
2 parents 71ed41d + 40be00d commit 3801b13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gen3/bin/kube-setup-cedar-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ if ! g3kubectl get secrets/cedar-g3auto > /dev/null 2>&1; then
return 1
fi

gen3_log_info "Checking cedar-client creds"
setup_creds
if [[ -n "$JENKINS_HOME" ]]; then
gen3_log_info "Skipping cedar-client creds setup in non-adminvm environment"
else
gen3_log_info "Checking cedar-client creds"
setup_creds
fi

if ! gen3 secrets decode cedar-g3auto cedar_api_key.txt > /dev/null 2>&1; then
gen3_log_err "No CEDAR api key present in cedar-g3auto secret, not rolling CEDAR wrapper"
Expand Down

0 comments on commit 3801b13

Please sign in to comment.