Skip to content

Commit

Permalink
Fix ECR access job role name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Mar 28, 2024
1 parent cde8a96 commit 6a98508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen3/bin/kube-setup-ecr-access-cronjob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ setup_ecr_access_job() {
return 1
fi

local saName="ecr-access-job-sa"
local saName=$(gen3 api safe-name ecr-access-job-sa | head -c63)
if ! g3kubectl get sa "$saName" > /dev/null 2>&1; then
tempFile="ecr-access-job-policy.json"
cat - > $tempFile <<EOM
Expand Down

0 comments on commit 6a98508

Please sign in to comment.