summaryrefslogtreecommitdiffstats
path: root/auth/docker/aaf.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-07-24 14:42:22 -0500
committerInstrumental <jonathan.gathman@att.com>2019-07-24 14:47:51 -0500
commitb3a6814af9ab63fa59d0233f5d2ebb032f0b1597 (patch)
tree9b4579eb2efbc8fab6a6491df6114172642a1640 /auth/docker/aaf.sh
parente9529d3deb86757d7b2eabaff4696c146cd0bad8 (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/aaf.sh')
-rw-r--r--auth/docker/aaf.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth/docker/aaf.sh b/auth/docker/aaf.sh
index 23822e52..b498428b 100644
--- a/auth/docker/aaf.sh
+++ b/auth/docker/aaf.sh
@@ -25,6 +25,9 @@ DOCKER=${DOCKER:=docker}
# if something, may not want CASS attached all the tim
#LINKS="--link $CASSANDRA_DOCKER"
+# DOCKER doesn't have DNS out of the box, only links.
+# so we add cm_always_ignore_ips in --env
+
function run_it() {
if [ -n "${DUSER}" ]; then
USER_LINE="--user ${DUSER}"
@@ -39,6 +42,7 @@ function run_it() {
--env aaf_locator_fqdn=${HOSTNAME} \
--env aaf_locate_url=https://aaf-locate:8095 \
--env aaf_locator_public_fqdn=${HOSTNAME} \
+ --env cm_always_ignore_ips=true \
--env AAF_ENV=${AAF_ENV} \
--env LATITUDE=${LATITUDE} \
--env LONGITUDE=${LONGITUDE} \