aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-09-17 11:41:18 +0200
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-09-18 08:08:45 +0200
commit5cca534d6e25561915e8a2cdbf64a2cd2d4acd9d (patch)
treef817902a0c3b709563f80b8011d821d6ca88d8cd
parentfbe1c5a030afab6787f903b87f811f056405b4c9 (diff)
Adjust VES and HV-VES collectors to use certificates from CMPv2
- Provide cert_type as input Issue-ID: DCAEGEN2-1794 Issue-ID: DCAEGEN2-2195 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I5dd67bf7c6fa93f4c193774877dfc6b6271072c2
-rw-r--r--blueprints/k8s-hv-ves.yaml9
-rw-r--r--blueprints/k8s-ves.yaml11
2 files changed, 15 insertions, 5 deletions
diff --git a/blueprints/k8s-hv-ves.yaml b/blueprints/k8s-hv-ves.yaml
index 103c964..d6f753a 100644
--- a/blueprints/k8s-hv-ves.yaml
+++ b/blueprints/k8s-hv-ves.yaml
@@ -22,7 +22,7 @@ tosca_definitions_version: cloudify_dsl_1_3
imports:
- https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
- - plugin:k8splugin?version=3.3.0
+ - plugin:k8splugin?version=3.4.1
inputs:
tag_version:
@@ -88,6 +88,10 @@ inputs:
service_component_name_override:
type: string
default: "dcae-hv-ves-collector"
+ external_cert_cert_type:
+ type: string
+ description: Output type
+ default: "JKS"
external_cert_ca_name:
type: string
description: Name of Certificate Authority configured on CertService side.
@@ -156,7 +160,8 @@ node_templates:
external_cert_directory: '/etc/ves-hv/ssl'
use_external_tls:
get_input: external_cert_use_external_tls
- cert_type: "JKS"
+ cert_type:
+ get_input: external_cert_cert_type
ca_name:
get_input: external_cert_ca_name
external_certificate_parameters:
diff --git a/blueprints/k8s-ves.yaml b/blueprints/k8s-ves.yaml
index f83fa3b..845857a 100644
--- a/blueprints/k8s-ves.yaml
+++ b/blueprints/k8s-ves.yaml
@@ -22,7 +22,7 @@ tosca_definitions_version: cloudify_dsl_1_3
imports:
- https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
- - plugin:k8splugin?version=3.3.0
+ - plugin:k8splugin?version=3.4.1
inputs:
ves_other_publish_url:
@@ -57,7 +57,7 @@ inputs:
default: "http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT"
tag_version:
type: string
- default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.4"
+ default: "nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.5"
internal_port:
type: string
description: Kubernetes node port on which collector is exposed
@@ -95,6 +95,10 @@ inputs:
enable_tls:
type: boolean
default: false
+ external_cert_cert_type:
+ type: string
+ description: Output type
+ default: "JKS"
external_cert_ca_name:
type: string
description: Name of Certificate Authority configured on CertService side.
@@ -239,7 +243,8 @@ node_templates:
external_cert_directory: '/opt/app/dcae-certificate/'
use_external_tls:
get_input: external_cert_use_external_tls
- cert_type: "JKS"
+ cert_type:
+ get_input: external_cert_cert_type
ca_name:
get_input: external_cert_ca_name
external_certificate_parameters: