aboutsummaryrefslogtreecommitdiffstats
path: root/blueprints/k8s-tcagen2.yaml
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-08-31 14:56:18 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-09-01 22:56:02 +0200
commit361de217f867d24cc067eccb303281e341e864c1 (patch)
treeb16c9fe238f94e16a69d66f72c87a059c5023fe3 /blueprints/k8s-tcagen2.yaml
parent633af426f074ab1ae0f5b87a8a7e247812a8f698 (diff)
[DCAE] Adapt DCAE blueprints to CFY DCAE K8S plugin version 3.x.x
Issue-ID: DCAEGEN2-2386 Signed-off-by: Krzysztof Kuźmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I7f95b0c4280812e7c1897d3b97857f6331814ffa
Diffstat (limited to 'blueprints/k8s-tcagen2.yaml')
-rw-r--r--blueprints/k8s-tcagen2.yaml14
1 files changed, 9 insertions, 5 deletions
diff --git a/blueprints/k8s-tcagen2.yaml b/blueprints/k8s-tcagen2.yaml
index 0153550..309ae6f 100644
--- a/blueprints/k8s-tcagen2.yaml
+++ b/blueprints/k8s-tcagen2.yaml
@@ -18,11 +18,14 @@
tosca_definitions_version: cloudify_dsl_1_3
imports:
- https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
- - plugin:k8splugin?version=2.0.0
+ - plugin:k8splugin?version=3.3.0
inputs:
- service_name:
+ service_component_type:
type: string
- default: 'dcae-tcagen2'
+ default: "dcae-tcagen2"
+ service_id:
+ type: string
+ default: "dcae-tcagen2"
log_directory:
type: string
default: "/opt/logs/dcae-analytics-tca"
@@ -57,7 +60,7 @@ inputs:
node_templates:
docker.tca:
- type: dcae.nodes.ContainerizedPlatformComponent
+ type: dcae.nodes.ContainerizedServiceComponent
interfaces:
cloudify.interfaces.lifecycle:
start:
@@ -122,4 +125,5 @@ node_templates:
dns_name: { get_input: service_name }
replicas:
get_input: replicas
- name: { get_input: service_name }
+ service_component_type: { get_input: service_component_type }
+ service_id: { get_input: service_id }