summaryrefslogtreecommitdiffstats
path: root/robot/assets/usecases/5gson/k8s-configdb.yaml
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-12-07 18:39:55 +0530
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-12-15 10:52:41 +0000
commit1dc3fd5009663ec3ca8a95b84d984a3ec1a0d07e (patch)
tree7f0a4ec9a63e04d38dfd3029a9c78d1c4840bdfa /robot/assets/usecases/5gson/k8s-configdb.yaml
parentc986f6380faf156e04bea56c8af7ade884c16eeb (diff)
Add testcases for SON use case
Issue-ID: TEST-285 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I65c670d80da1f75395ddb9cdeb0d743503b6bfb0
Diffstat (limited to 'robot/assets/usecases/5gson/k8s-configdb.yaml')
-rwxr-xr-xrobot/assets/usecases/5gson/k8s-configdb.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/robot/assets/usecases/5gson/k8s-configdb.yaml b/robot/assets/usecases/5gson/k8s-configdb.yaml
new file mode 100755
index 00000000..9030da59
--- /dev/null
+++ b/robot/assets/usecases/5gson/k8s-configdb.yaml
@@ -0,0 +1,23 @@
+tosca_definitions_version: cloudify_dsl_1_3
+imports:
+ - 'http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml'
+ - 'plugin:k8splugin?version=3.4.3'
+inputs:
+ tag_version:
+ type: string
+ description: Docker image to be used
+ default: 'krishnaa96/configdb'
+node_templates:
+ configdb:
+ type: dcae.nodes.ContainerizedServiceComponent
+ interfaces:
+ cloudify.interfaces.lifecycle:
+ start:
+ inputs:
+ ports:
+ - "8080:0"
+ properties:
+ service_component_type: configdb
+ service_component_name_override: configdb
+ image: { get_input: tag_version }
+ replicas: 1