summaryrefslogtreecommitdiffstats
path: root/k8s-bootstrap-container/bootstrap.sh
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2020-01-22 18:32:48 -0500
committerJack Lucas <jflucas@research.att.com>2020-01-24 11:05:56 -0500
commit89bde25d3d440cc95919c2ce527d85e7dc427f2c (patch)
tree3e7293695f767e3cb03b88e4ff6c718ecba17d41 /k8s-bootstrap-container/bootstrap.sh
parentb632d499fa49764e3f9b4d2a12cefa4f054bc0e9 (diff)
Update blueprints, plugins, and bootstrap script.1.8.0
Stop deploying snmptrap collector Move to tca-cdap-container 1.2.2 Move to k8splugin 1.7.2 Issue-ID: DCAEGEN2-2037 Issue-ID: DCAEGEN2-2021 Issue-ID: DCAEGEN2-2006 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: Icd09d65b2be83d786dd2bd669d627a1cb6242119
Diffstat (limited to 'k8s-bootstrap-container/bootstrap.sh')
-rwxr-xr-xk8s-bootstrap-container/bootstrap.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/k8s-bootstrap-container/bootstrap.sh b/k8s-bootstrap-container/bootstrap.sh
index b23e908..09767c6 100755
--- a/k8s-bootstrap-container/bootstrap.sh
+++ b/k8s-bootstrap-container/bootstrap.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# ================================================================================
-# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -142,15 +142,6 @@ set -e
# Consul service registration data
CBS_REG='{"ID": "dcae-cbs0", "Name": "config_binding_service", "Address": "config-binding-service", "Port": 10000}'
-CBS_REG1='{"ID": "dcae-cbs1", "Name": "config-binding-service", "Address": "config-binding-service", "Port": 10000}'
-HE_REG='{"ID": "dcae-he0", "Name": "holmes-engine-mgmt", "Address": "holmes-engine-mgmt", "Port": 9102}'
-HR_REG='{"ID": "dcae-hr0", "Name": "holmes-rule-mgmt", "Address": "holmes-rule-mgmt", "Port": 9101}'
-PH_REG='{"ID": "dcae-ph0", "Name": "policy_handler", "Port": 25577, "Address": "policy-handler'
-if [ ! -z "${DCAE_NAMESPACE}" ]
-then
- PH_REG="${PH_REG}.${DCAE_NAMESPACE}"
-fi
-PH_REG="${PH_REG}\"}"
# Set up profile to access Cloudify Manager
cfy profiles use -u admin -t default_tenant -p "${CMPASS}" ${CFYTLS} "${CMADDR}"
@@ -189,7 +180,7 @@ do
done
# Put service registrations into the local Consul configuration directory
-for sr in CBS_REG CBS_REG1 HE_REG HR_REG PH_REG
+for sr in CBS_REG
do
echo '{"service" : ' ${!sr} ' }'> /opt/consul/config/${sr}.json
done
@@ -227,7 +218,6 @@ deploy pgaas_initdb k8s-pgaas-initdb.yaml k8s-pgaas-initdb-inputs.yaml
# tca, ves, prh, hv-ves, datafile-collector can be deployed simultaneously
deploy tca k8s-tca.yaml k8s-tca-inputs.yaml &
deploy ves k8s-ves.yaml k8s-ves-inputs.yaml &
-deploy snmptrap k8s-snmptrap.yaml k8s-snmptrap-inputs.yaml &
deploy prh k8s-prh.yaml k8s-prh-inputs.yaml &
deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml &
# holmes_rules must be deployed before holmes_engine, but holmes_rules can go in parallel with other service components