diff options
author | kjaniak <kornel.janiak@nokia.com> | 2019-10-11 07:23:59 +0200 |
---|---|---|
committer | kjaniak <kornel.janiak@nokia.com> | 2019-10-11 08:24:39 +0200 |
commit | 26bc22297811ba2d0e37b512516a86474689d879 (patch) | |
tree | bcd09b2e77ce0f70b7bc39820ebaf6b79adc0e74 /tools/performance/cloud/producer-pod.yaml | |
parent | 2e334500fba9893f1f2d2ab3b9528c638d993a03 (diff) |
Add SSL support to cloud performance tests
Change-Id: Ie0a6341592efe3bfe3e386c01026600d16110cef
Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Issue-ID: DCAEGEN2-1827
Diffstat (limited to 'tools/performance/cloud/producer-pod.yaml')
-rwxr-xr-x | tools/performance/cloud/producer-pod.yaml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/tools/performance/cloud/producer-pod.yaml b/tools/performance/cloud/producer-pod.yaml index 9381b582..5b41c4e0 100755 --- a/tools/performance/cloud/producer-pod.yaml +++ b/tools/performance/cloud/producer-pod.yaml @@ -27,6 +27,10 @@ spec: containers: - name: hv-collector-producer image: the-a-team-registry-local.esisoj70.emea.nsn-net.net/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-go-client:latest + volumeMounts: + - name: ssl-certs + mountPath: /ssl + readOnly: true env: - name: HV_VES_ADDRESS valueFrom: @@ -53,9 +57,25 @@ spec: configMapKeyRef: name: performance-test-config key: producer.client.count + - name: CERT_FILE + valueFrom: + configMapKeyRef: + name: performance-test-config + key: client.cert.path + - name: CERT_PASS_FILE + valueFrom: + configMapKeyRef: + name: performance-test-config + key: client.cert.pass.path args: ["--address", "$(HV_VES_ADDRESS)", "--clients", "$(CLIENTS_PER_CONTAINER)", "--msgsize", "$(MSG_SIZE)", "--msgcount", "$(MSG_COUNT)", - "--intervalms", "$(INTERVAL_MS)"] + "--intervalms", "$(INTERVAL_MS)", + "--certfile", "$(CERT_FILE)", + "--certpass", "$(CERT_PASS_FILE)"] + volumes: + - name: ssl-certs + secret: + secretName: cert restartPolicy: Never
\ No newline at end of file |