aboutsummaryrefslogtreecommitdiffstats
path: root/installation/src/main/yaml
diff options
context:
space:
mode:
authorRehanRaza <muhammad.rehan.raza@est.tech>2020-08-28 14:37:34 +0200
committerRehanRaza <muhammad.rehan.raza@est.tech>2020-08-28 14:53:29 +0200
commit91a8f1eacdeb30a7c2e81d4c921c1f030d940496 (patch)
treebc8789f341fe16220bac0a7f40deaf26ce385612 /installation/src/main/yaml
parent137ba19a109014a31d728a734c9706a1a97a9da9 (diff)
Add a configurable truststore for A1 adapter
The default truststore truststore.a1.adapter.jks contains a1simulator's cert from ORAN-SC: https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=blob;f=near-rt-ric-simulator/certificate/cert.crt;h=51e37a79a508242a2179f0607df61fb795e94a6a;hb=refs/heads/master This truststore can be overridden by mounting a new volume in docker-compose/helm, and the correpoding password for the truststore is set using an environment variable. Change-Id: Iec489a5a8f0435191475db0a1737e822f0a44b99 Issue-ID: SDNC-1339 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech> Former-commit-id: 6ee5a32752bd838225b9cbacd22ed451fd24c9a6
Diffstat (limited to 'installation/src/main/yaml')
-rw-r--r--installation/src/main/yaml/docker-compose.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml
index 773d0616..96f9bb32 100644
--- a/installation/src/main/yaml/docker-compose.yml
+++ b/installation/src/main/yaml/docker-compose.yml
@@ -63,6 +63,12 @@ services:
- ODL_CERT_DIR=/tmp
- ODL_ADMIN_USERNAME=admin
- ODL_ADMIN_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ - A1_TRUSTSTORE_PASSWORD=a1adapter
+ # The default truststore for A1 adapter can be overridden by mounting a new
+ # truststore (uncomment the lines below), whereas the corresponding password
+ # should be updated in A1_TRUSTSTORE_PASSWORD environment variable (in the line above)
+ #volumes:
+ # - ./a1_truststore.jks:/opt/onap/sdnc/data/stores/truststore.a1.adapter.jks:ro
dns:
- ${DNS_IP_ADDR-10.0.100.1}
logging: