diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-07-24 14:42:22 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-07-24 14:47:51 -0500 |
commit | b3a6814af9ab63fa59d0233f5d2ebb032f0b1597 (patch) | |
tree | 9b4579eb2efbc8fab6a6491df6114172642a1640 /auth/docker/drun.sh | |
parent | e9529d3deb86757d7b2eabaff4696c146cd0bad8 (diff) |
update Agent for Helm
Issue-ID: AAF-904
Change-Id: I015cd19dcf95d1edfd86542750acc95447726120
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/drun.sh')
-rw-r--r-- | auth/docker/drun.sh | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh index 03d8e9cd..57a61676 100644 --- a/auth/docker/drun.sh +++ b/auth/docker/drun.sh @@ -61,7 +61,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do ;; "cm") PUBLISH="--publish 8150:8150" - LINKS="--link aaf-cass --link aaf-service --link aaf-locate" + LINKS="--link aaf-cass --link aaf-service --link aaf-locate --link aaf-oauth" CMD_LINE="cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-cm aaf-locate && exec bin/cm" ;; "gui") @@ -82,20 +82,11 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do esac echo Starting aaf-$AAF_COMPONENT... - - #for A in aaf.osaaf.org $AH_ROOT; do - #ADD_HOST="$ADD_HOST --add-host=$A:$HOST_IP" - #done - - #if [ ! -z "$LINKS" ] && [[ "$CASS_HOST" =~ ":" ]]; then - #ADD_HOST="$ADD_HOST --add-host=$CASS_HOST" - #fi - #--hostname="${AAF_COMPONENT}.${NAMESPACE}" \ - # --env aaf_locate_url=https://aaf-locate:8095 \ - # $ADD_HOST \ if [ -n "${DUSER}" ]; then THE_USER="--user $DUSER" fi + + $DOCKER run \ -d \ ${THE_USER} \ |