aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2019-10-16 17:12:06 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2019-10-16 17:36:19 +0200
commit05c7001b93ab3252931ff3a59384c792902810d9 (patch)
treecd93b68297979c85408891fbc669084e8349e35c
parent788bc023262b81e2d3a33d26ada1c5a8e3aab25a (diff)
Move certificates directory creation to dockerfile
Issue-ID: DCAEGEN2-1783 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: If4d9c0dab255ce4f2024f06da40c724dd98d7e5f
-rw-r--r--sources/hv-collector-main/Dockerfile2
-rwxr-xr-xtools/performance/cloud/cloud-based-performance-test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/hv-collector-main/Dockerfile b/sources/hv-collector-main/Dockerfile
index 36ada936..178045ce 100644
--- a/sources/hv-collector-main/Dockerfile
+++ b/sources/hv-collector-main/Dockerfile
@@ -16,6 +16,8 @@ WORKDIR /opt/ves-hv-collector
RUN useradd --user-group --uid ${HV_VES_USER_ID_NUMBER} ${HV_VES_USER}
+RUN mkdir -p /etc/ves-hv/ssl && chown -R ${HV_VES_USER} /etc/ves-hv/ssl
+
USER ${HV_VES_USER}
ENTRYPOINT ["./entry.sh"]
diff --git a/tools/performance/cloud/cloud-based-performance-test.sh b/tools/performance/cloud/cloud-based-performance-test.sh
index 78ab7717..f4445844 100755
--- a/tools/performance/cloud/cloud-based-performance-test.sh
+++ b/tools/performance/cloud/cloud-based-performance-test.sh
@@ -73,8 +73,6 @@ function clean() {
function copy_certs_to_hvves() {
cd ../../ssl
- echo "Creating cert directory: ${HVVES_CERT_PATH}"
- kubectl exec ${HVVES_POD_NAME} mkdir ${HVVES_CERT_PATH} -n ${ONAP_NAMESPACE}
for file in {trust.p12,trust.pass,server.p12,server.pass}
do
echo "Copying file: ${file}"