aboutsummaryrefslogtreecommitdiffstats
path: root/blueprints/k8s-tcagen2.yaml
diff options
context:
space:
mode:
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 }