diff options
author | Chengkai Yan <martin.c.yan@est.tech> | 2019-01-21 08:23:42 +0100 |
---|---|---|
committer | Chengkai Yan <martin.c.yan@est.tech> | 2019-02-01 04:41:29 +0100 |
commit | cae9ebccfdb64595f9b7ab7a50ef80f8d09accc3 (patch) | |
tree | fa8fe222fcfebec237bac08119c665c2545b42cd | |
parent | 99cdec225e8f86646715d56748daa412e9488ce7 (diff) |
Add new fields for application config
Change-Id: I9a814e71b5e7e559cfc8313d65ec5e15d2520a09
Issue-ID: DCAEGEN2-1096
Signed-off-by: Chengkai Yan <martin.c.yan@est.tech>
-rw-r--r-- | blueprints/k8s-datafile-collector.yaml-template | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/blueprints/k8s-datafile-collector.yaml-template b/blueprints/k8s-datafile-collector.yaml-template index 1f29df0..152c923 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
|