summaryrefslogtreecommitdiffstats
path: root/heat
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-04-20 19:44:55 +0000
committervagrant <vv770d@att.com>2018-04-20 20:45:30 +0000
commitd5f2aa475956fefeec4af6b4aea9b08127649a29 (patch)
tree23ad2b1c0f2f21415b142988e415908d958c04cd /heat
parent394caa9be021595b46b13339d629199dba6c5ab0 (diff)
fixing heat deployment issues noted
Plugin Script is common between K8S and Heat deploy, incorporating additonal required plugin. Modified registration to include dockerhost login info Change-Id: I228cdb2e48c47cc698a19986ccf12b6d21ab265c Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-464
Diffstat (limited to 'heat')
-rwxr-xr-xheat/register.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/heat/register.sh b/heat/register.sh
index 4b4e100..bdf6814 100755
--- a/heat/register.sh
+++ b/heat/register.sh
@@ -61,6 +61,20 @@ curl -v -X PUT -H 'Content-Type: application/json' \
--data-binary "$REGREQ" \
"http://${HOSTNAME_CONSUL}:8500/v1/agent/service/register"
+#Add KV for dockerplugin login
+REGREQ="
+[
+ {
+ \"username\": \"docker\",
+ \"password\": \"docker\",
+ \"registry\": \"nexus3.onap.org:10001\"
+ }
+]
+"
+curl -v -X PUT -H 'Content-Type: application/json' \
+--data-binary "$REGREQ" \
+"http://${HOSTNAME_CONSUL}:8500/v1/kv/docker_plugin/docker_logins"
+
# registering Holmes services