summaryrefslogtreecommitdiffstats
path: root/k8s/configure/configure.py
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-09-01 08:46:58 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-09-03 13:57:24 +0200
commit1d8fd7b6b5c01209ad5de744558459966b73dce7 (patch)
tree926ffc3d0326401412169138df7ca2ceba1a8d9c /k8s/configure/configure.py
parent92f74ae2a3506cea96635e922c0217dc1ef96bb9 (diff)
[k8splugin] Add support to move CMPv2 keystore in place of AAFCertMan
keystore Make secret with certs for cert-service-client container configurable Issue-ID: DCAEGEN2-2253 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia17d3a1f32d2118aa6d5380e32ac5afb5ad2d017
Diffstat (limited to 'k8s/configure/configure.py')
-rw-r--r--k8s/configure/configure.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/k8s/configure/configure.py b/k8s/configure/configure.py
index fbf578c..dc21dd9 100644
--- a/k8s/configure/configure.py
+++ b/k8s/configure/configure.py
@@ -47,6 +47,7 @@ EXT_TLS_ORGANIZATION = "Linux-Foundation"
EXT_TLS_STATE = "California"
EXT_TLS_ORGANIZATIONAL_UNIT = "ONAP"
EXT_TLS_LOCATION = "San-Francisco"
+EXT_TLS_CERT_SECRET_NAME = "aaf-cert-service-client-tls-secret"
EXT_TLS_KEYSTORE_PASSWORD = "secret"
EXT_TLS_TRUSTSTORE_PASSWORD = "secret"
@@ -83,6 +84,7 @@ def _set_defaults():
"state" : EXT_TLS_STATE, # State name, for which certificate will be created
"organizational_unit" : EXT_TLS_ORGANIZATIONAL_UNIT, # Organizational unit name, for which certificate will be created
"location" : EXT_TLS_LOCATION, # Location name, for which certificate will be created
+ "cert_secret_name": EXT_TLS_CERT_SECRET_NAME, # Name of secret containing keystore and truststore for secure communication of Cert Service Client and Cert Service
"keystore_password" : EXT_TLS_KEYSTORE_PASSWORD, # Password to keystore file
"truststore_password" : EXT_TLS_TRUSTSTORE_PASSWORD # Password to truststore file
},