diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-05-06 22:02:21 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-05-06 22:02:27 -0700 |
commit | 22c9a56fa58d73edc51b2a2547ef8ce7fd40e036 (patch) | |
tree | 1a936f76194d93809a28eb75be56231b117bcf6a /plans/multicloud-k8s/functionality1 | |
parent | 78ef07a83d132389746f05eef6e83e5ba301b07c (diff) |
Fix multicloud-k8s csit
The ports for multicloud-k8s had to be changed and they
were made configurable. This fixes the broken csit for that.
Issue-ID: MULTICLOUD-609
Change-Id: I41f7687753fd0ea23be7bba9ec2ba84165ee794b
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'plans/multicloud-k8s/functionality1')
-rwxr-xr-x | plans/multicloud-k8s/functionality1/setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plans/multicloud-k8s/functionality1/setup.sh b/plans/multicloud-k8s/functionality1/setup.sh index eda24ba4..006a114d 100755 --- a/plans/multicloud-k8s/functionality1/setup.sh +++ b/plans/multicloud-k8s/functionality1/setup.sh @@ -19,11 +19,13 @@ MONGO_IP=$(./get-instance-ip.sh multicloud-k8s-mongodb) # setup multicloud-k8s configuration CONFIG_FILE=$(pwd)/k8sconfig.json +SERVICE_PORT=9015 cat << EOF > $CONFIG_FILE { "database-address": "$MONGO_IP", "database-type": "mongo", "plugin-dir": "plugins", + "service-port": "$SERVICE_PORT", "kube-config-dir": "kubeconfigs" } EOF @@ -34,7 +36,6 @@ cat $CONFIG_FILE docker run --name multicloud-k8s -v $CONFIG_FILE:/opt/multicloud/k8splugin/k8sconfig.json \ -d nexus3.onap.org:10001/onap/multicloud/k8s:latest SERVICE_IP=$(./get-instance-ip.sh multicloud-k8s) -SERVICE_PORT=8081 popd if [[ $no_proxy && $no_proxy != *$SERVICE_IP* ]]; then |