Skip to content

Commit

Permalink
fix quotes in policy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Feb 27, 2024
1 parent 07dd341 commit f680a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen3/bin/kube-setup-hatchery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fi

# if `nextflow-global.imagebuilder-reader-role-arn` is set in hatchery config, allow hatchery
# to assume the configured role
imagebuilderRoleArn=$(g3kubectl get configmap manifest-hatchery -o jsonpath={.data.nextflow-global} | jq '."imagebuilder-reader-role-arn"')
imagebuilderRoleArn=$(g3kubectl get configmap manifest-hatchery -o jsonpath={.data.nextflow-global} | jq -r '."imagebuilder-reader-role-arn"')
assumeImageBuilderRolePolicyBlock=""
if [ -z "$imagebuilderRoleArn" ]; then
gen3_log_info "No 'nexftlow-global.imagebuilder-reader-role-arn' in Hatchery configuration, not granting AssumeRole"
Expand Down

0 comments on commit f680a51

Please sign in to comment.