summaryrefslogtreecommitdiffstats
path: root/heat
diff options
context:
space:
mode:
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