Skip to content

Commit

Permalink
Merge pull request #41 from CanDIG/daisieh/no-service-token
Browse files Browse the repository at this point in the history
Don't pass in OPA_SECRET
  • Loading branch information
daisieh authored May 28, 2024
2 parents ab0e28c + c37b68c commit cbb5c89
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ CANDIG_HTSGET_URL = <HTSGET_URL>
CANDIG_KATSU_URL = <KATSU_URL>

[authz]
CANDIG_OPA_SECRET = <CANDIG_OPA_SECRET>
CANDIG_OPA_URL = <OPA_URL>
CANDIG_VAULT_URL = <VAULT_URL>
1 change: 0 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
OPA_SECRET=$(cat /run/secrets/opa-service-token)

if [[ -f "initial_setup" ]]; then
sed -i s@\<HTSGET_URL\>@$CANDIG_HTSGET_URL@ config.ini
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pytest==7.2.0
connexion==2.14.2
uwsgi==2.0.23
swagger-ui-bundle==0.0.9
candigv2-authx@git+https://github.com/CanDIG/candigv2-authx.git@daisieh/aud
candigv2-authx@git+https://github.com/CanDIG/candigv2-authx.git@v2.4.2

0 comments on commit cbb5c89

Please sign in to comment.