From be7e0d14765b8fb1520c457ab99ddedf0f7ab65e Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 4 Apr 2019 21:42:19 -0500 Subject: Refine Helm Client Charts Issue-ID: AAF-802 Change-Id: Ie00cd2919eeecef00aac1dae139c7ef80092589a Signed-off-by: Instrumental --- auth/docker/aaf.sh | 2 +- auth/docker/agent.sh | 1 + auth/docker/dbuild.sh | 6 +----- auth/docker/drun.sh | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'auth/docker') diff --git a/auth/docker/aaf.sh b/auth/docker/aaf.sh index 02d258f8..656ce56c 100644 --- a/auth/docker/aaf.sh +++ b/auth/docker/aaf.sh @@ -38,7 +38,7 @@ function run_it() { --env aaf_locator_container_ns=${NAMESPACE} \ --env aaf_locator_fqdn=${HOSTNAME} \ --env aaf_locate_url=https://aaf-locate:8095 \ - --env aaf_locator_public_hostname=${HOSTNAME} \ + --env aaf_locator_public_fqdn=${HOSTNAME} \ --env AAF_ENV=${AAF_ENV} \ --env LATITUDE=${LATITUDE} \ --env LONGITUDE=${LONGITUDE} \ diff --git a/auth/docker/agent.sh b/auth/docker/agent.sh index 931249b0..eb1888c1 100644 --- a/auth/docker/agent.sh +++ b/auth/docker/agent.sh @@ -120,6 +120,7 @@ function run_it() { --env LATITUDE=${LATITUDE} \ --env LONGITUDE=${LONGITUDE} \ --env aaf_locator_container_ns=${CONTAINER_NS} \ + --env aaf_locator_container=docker \ --name aaf-agent-$USER \ "$PREFIX"onap/aaf/aaf_agent:$VERSION \ bash -c "bash /opt/app/aaf_config/bin/agent.sh $PARAMS" diff --git a/auth/docker/dbuild.sh b/auth/docker/dbuild.sh index 1b4e5eee..fab4b15a 100755 --- a/auth/docker/dbuild.sh +++ b/auth/docker/dbuild.sh @@ -28,8 +28,6 @@ fi . ./d.props -AAF_COMPONENTS=ALL - # process input. originally, an optional positional parameter is used to designate a component. # A flagged parameter has been added to optionally indicate docker pull registry. Ideally, options # would be flagged but we're avoiding ripple effect of changing original usage @@ -124,9 +122,7 @@ cd - ####### # Do all the Containers related to AAF Services ####### -if [ $AAF_COMPONENTS == "ALL" ]; then - AAF_COMPONENTS=$(cat components) -fi +AAF_COMPONENTS=$(cat components) cp ../sample/bin/pod_wait.sh ../aaf_${VERSION}/bin for AAF_COMPONENT in ${AAF_COMPONENTS}; do diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh index 994bb556..648c497a 100644 --- a/auth/docker/drun.sh +++ b/auth/docker/drun.sh @@ -105,7 +105,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do --env aaf_locator_container=docker \ --env aaf_locator_container_ns=${NAMESPACE} \ --env aaf_locator_fqdn=${HOSTNAME} \ - --env aaf_locator_public_hostname=${HOSTNAME} \ + --env aaf_locator_public_fqdn=${HOSTNAME} \ --env LATITUDE=${LATITUDE} \ --env LONGITUDE=${LONGITUDE} \ --env CASSANDRA_CLUSTER=${CASSANDRA_CLUSTER} \ -- cgit 1.2.3-korg