summaryrefslogtreecommitdiffstats
path: root/deployments
diff options
context:
space:
mode:
Diffstat (limited to 'deployments')
-rw-r--r--deployments/Dockerfile4
-rwxr-xr-xdeployments/_functions.sh5
-rwxr-xr-xdeployments/build.sh3
3 files changed, 1 insertions, 11 deletions
diff --git a/deployments/Dockerfile b/deployments/Dockerfile
index dfe16cb1..842345c2 100644
--- a/deployments/Dockerfile
+++ b/deployments/Dockerfile
@@ -19,10 +19,6 @@ ENV no_proxy $NO_PROXY
EXPOSE 9015
RUN groupadd -r onap && useradd -r -g onap onap
-RUN apt-get update && apt-get install -y -qq apt-transport-https curl \
- && echo "deb https://packages.wand.net.nz xenial main" > /etc/apt/sources.list.d/wand.list \
- && curl https://packages.wand.net.nz/keyring.gpg -o /etc/apt/trusted.gpg.d/wand.gpg \
- && apt-get update && apt install -y -qq ovn-common
WORKDIR /opt/multicloud/k8splugin
RUN chown onap:onap /opt/multicloud/k8splugin -R
diff --git a/deployments/_functions.sh b/deployments/_functions.sh
index 45f2d8cf..47074433 100755
--- a/deployments/_functions.sh
+++ b/deployments/_functions.sh
@@ -21,16 +21,11 @@ function start_mongo {
}
function generate_k8sconfig {
- local ovn_address
- if [ -n "${OVN_CENTRAL_ADDRESS:-}" ]; then
- ovn_address="\"ovn-central-address\": \"${OVN_CENTRAL_ADDRESS}\","
- fi
cat << EOF > k8sconfig.json
{
"database-address": "${DATABASE_IP}",
"database-type": "mongo",
"plugin-dir": "plugins",
- ${ovn_address}
"service-port": "9015"
}
EOF
diff --git a/deployments/build.sh b/deployments/build.sh
index f40542eb..41ea3941 100755
--- a/deployments/build.sh
+++ b/deployments/build.sh
@@ -12,9 +12,8 @@ set -o nounset
set -o pipefail
k8s_path="$(git rev-parse --show-toplevel)"
-export GOPATH=$k8s_path
-VERSION="0.1.0-SNAPSHOT"
+VERSION="0.5.0-SNAPSHOT"
export IMAGE_NAME="nexus3.onap.org:10003/onap/multicloud/k8s"
function _compile_src {