aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2020-09-15 15:13:23 +0200
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-12-30 13:43:32 +0100
commitcebf5f6d5b62546bb454292203aa1122f47970b1 (patch)
tree41fcde81874ff22bdec780af3edccaafe2c404bd
parentc32d68151728587f2645fc23ce463a4ace0a81a0 (diff)
Adjust DFC collector to use certificates from CMPv2
- Add fields for external tls - Change dmaap.ftpes.certs paths Issue-ID: DCAEGEN2-1795 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Icf8c947f95bfa19aad95f6c0864b474fff0921a7
-rw-r--r--blueprints/k8s-datafile.yaml44
-rw-r--r--pom.xml2
-rw-r--r--version.properties2
3 files changed, 42 insertions, 6 deletions
diff --git a/blueprints/k8s-datafile.yaml b/blueprints/k8s-datafile.yaml
index fda3c3d..c545b13 100644
--- a/blueprints/k8s-datafile.yaml
+++ b/blueprints/k8s-datafile.yaml
@@ -17,16 +17,16 @@ inputs:
default: "/opt/app/datafile/etc/cert/"
datafile-collector_cpu_limit:
type: string
- default: "250m"
+ default: "500m"
datafile-collector_cpu_request:
type: string
- default: "250m"
+ default: "500m"
datafile-collector_memory_limit:
type: string
- default: "512Mi"
+ default: "768Mi"
datafile-collector_memory_request:
type: string
- default: "512Mi"
+ default: "768Mi"
envs:
default: {}
external_port:
@@ -57,6 +57,28 @@ inputs:
use_tls:
type: boolean
default: true
+ external_cert_ca_name:
+ type: string
+ description: Name of Certificate Authority configured on CertService side.
+ default: "RA"
+ external_cert_cert_type:
+ type: string
+ description: Format of provided certificates
+ default: "P12"
+ external_cert_common_name:
+ type: string
+ description: Common name which should be present in certificate.
+ default: "dcae-datafile-collector"
+ external_cert_sans:
+ type: string
+ description: '"List of Subject Alternative Names (SANs) which should be present
+ in certificate. Delimiter - , Should contain common_name value and other FQDNs
+ under which given component is accessible."'
+ default: "dcae-datafile-collector,datafile-collector,datafile"
+ external_cert_use_external_tls:
+ type: boolean
+ description: Flag to indicate external tls enable/disable.
+ default: false
node_templates:
datafile-collector:
type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
@@ -120,6 +142,20 @@ node_templates:
get_input: cert_directory
use_tls:
get_input: use_tls
+ external_cert:
+ external_cert_directory:
+ get_input: cert_directory
+ use_external_tls:
+ get_input: external_cert_use_external_tls
+ ca_name:
+ get_input: external_cert_ca_name
+ cert_type:
+ get_input: external_cert_cert_type
+ external_certificate_parameters:
+ common_name:
+ get_input: external_cert_common_name
+ sans:
+ get_input: external_cert_sans
resource_config:
limits:
cpu:
diff --git a/pom.xml b/pom.xml
index f58846e..a3958ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<groupId>org.onap.dcaegen2.deployments</groupId>
<artifactId>k8s-bootstrap-container</artifactId>
<name>dcaegen2-deployments-k8s-bootstrap-container</name>
- <version>2.2.3-SNAPSHOT</version>
+ <version>2.2.4-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<packaging>pom</packaging>
diff --git a/version.properties b/version.properties
index 703b401..f79400f 100644
--- a/version.properties
+++ b/version.properties
@@ -1,6 +1,6 @@
major=2
minor=2
-patch=3
+patch=4
base_version=${major}.${minor}.${patch}
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT