From d5f2aa475956fefeec4af6b4aea9b08127649a29 Mon Sep 17 00:00:00 2001 From: vagrant Date: Fri, 20 Apr 2018 19:44:55 +0000 Subject: 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 Issue-ID: DCAEGEN2-464 --- heat/register.sh | 14 ++++++++++++++ k8s-bootstrap-container/build-plugins.sh | 1 + k8s-bootstrap-container/pom.xml | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) 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 diff --git a/k8s-bootstrap-container/build-plugins.sh b/k8s-bootstrap-container/build-plugins.sh index 69fb121..84e4faa 100755 --- a/k8s-bootstrap-container/build-plugins.sh +++ b/k8s-bootstrap-container/build-plugins.sh @@ -33,6 +33,7 @@ DCAEPLUGINFILES=\ "\ k8splugin/1.1.0/k8splugin-1.1.0.tgz dockerplugin/3.2.0/dockerplugin-3.2.0.tgz +relationshipplugin/1.0.0/relationshipplugin-1.0.0.tgz dcaepolicyplugin/2.3.0/dcaepolicyplugin-2.3.0.tgz \ " diff --git a/k8s-bootstrap-container/pom.xml b/k8s-bootstrap-container/pom.xml index 6eca043..abbe3d0 100644 --- a/k8s-bootstrap-container/pom.xml +++ b/k8s-bootstrap-container/pom.xml @@ -27,7 +27,7 @@ limitations under the License. org.onap.dcaegen2.deployments k8s-bootstrap-container dcaegen2-deployments-k8s-bootstrap-container - 1.1.5 + 1.1.6 http://maven.apache.org UTF-8 -- cgit 1.2.3-korg