aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/cmpv2/k8s-mongo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/cmpv2/k8s-mongo.yaml')
-rw-r--r--robot/assets/cmpv2/k8s-mongo.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/robot/assets/cmpv2/k8s-mongo.yaml b/robot/assets/cmpv2/k8s-mongo.yaml
index 3823bff2..010eb65c 100644
--- a/robot/assets/cmpv2/k8s-mongo.yaml
+++ b/robot/assets/cmpv2/k8s-mongo.yaml
@@ -11,6 +11,12 @@ inputs:
type: integer
description: Number of instances
default: 1
+ service_component_type:
+ type: string
+ default: "mongo"
+ service_component_name_override:
+ type: string
+ default: "mongo"
node_templates:
mongo:
type: dcae.nodes.ContainerizedServiceComponent
@@ -25,7 +31,7 @@ node_templates:
ports:
- '27017:0'
properties:
- service_component_type: mongo
- service_component_name_override: mongo
+ service_component_type: { get_input: service_component_type }
+ service_component_name_override: { get_input: service_component_name_override }
image: { get_input: tag_version }
replicas: { get_input: replicas }