summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-02-02 06:15:45 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-02 06:15:45 +0000
commit5ba300ae425d1cddf622117e5f5af48457b9061e (patch)
treec9cf75a4b3f487801874f89b0e0d538bc27553ee
parent9ca1037ba1d39d75877fb8b292adbf2fb4d7ba38 (diff)
parentcae9ebccfdb64595f9b7ab7a50ef80f8d09accc3 (diff)
Merge "Add new fields for application config"
-rw-r--r--blueprints/k8s-datafile-collector.yaml-template12
1 files changed, 12 insertions, 0 deletions
diff --git a/blueprints/k8s-datafile-collector.yaml-template b/blueprints/k8s-datafile-collector.yaml-template
index 62b908f..525d4df 100644
--- a/blueprints/k8s-datafile-collector.yaml-template
+++ b/blueprints/k8s-datafile-collector.yaml-template
@@ -71,6 +71,10 @@ inputs:
type: integer
description: secure port on Kubernetes host where datafile API will be exposed
default: 30224
+ secureEnableCert:
+ type: boolean
+ description: enable certificate base connection with PNF and DMaap
+ default: false
node_templates:
datafile-collector:
interfaces:
@@ -104,6 +108,11 @@ node_templates:
dmaap.ftp.ftpesConfiguration.keyPassword: "secret"
dmaap.ftp.ftpesConfiguration.trustedCA: "/config/cacerts"
dmaap.ftp.ftpesConfiguration.trustedCAPassword: "secret"
+ dmaap.security.trustStorePath: "/opt/app/datafile/etc/cert/trust.jks"
+ dmaap.security.trustStorePasswordPath: "/opt/app/datafile/etc/cert/trust.pass"
+ dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
+ dmaap.security.keyStorePasswordPath: "/opt/app/datafile/etc/cert/key.pass"
+ dmaap.security.enableDmaapCertAuth: { get_input: secureEnableCert }
docker_config:
healthcheck:
endpoint: /heartbeat
@@ -117,4 +126,7 @@ node_templates:
dns_name: 'dcae-datafile-collector'
log_info:
log_directory: "/opt/app/datafile/logs"
+ tls_info:
+ cert_directory: '/opt/app/datafile/etc/cert/'
+ use_tls: true
type: dcae.nodes.ContainerizedPlatformComponent