Skip to content

Commit

Permalink
Merge pull request #97 from wguanicedew/dev
Browse files Browse the repository at this point in the history
[ATLASPANDA-629] idds to read auth.cfg from mounted configmap
  • Loading branch information
wguanicedew authored Jul 26, 2022
2 parents 0bfd680 + 2a0ed05 commit 044119e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions start-daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ else
--use-env \
--prefix IDDS_CFG_AUTH \
-d /opt/idds/config/idds/auth.cfg

if [ -f /opt/idds/configmap/auth.cfg ]; then
python3 /opt/idds/tools/env/merge_idds_configs.py \
-s /opt/idds/configmap/auth.cfg $IDDS_OVERRIDE_AUTH_CONFIGS \
--use-env \
--prefix IDDS_CFG_AUTH \
-d /opt/idds/config/idds/auth.cfg
fi

python3 /opt/idds/tools/env/merge_configmap.py \
-s /opt/idds/configmap/idds_configmap.json \
-d /opt/idds/config/idds/auth.cfg
Expand Down

0 comments on commit 044119e

Please sign in to comment.