diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-10-07 09:23:18 +0200 |
---|---|---|
committer | Marcin Przybysz <marcin.przybysz@nokia.com> | 2020-10-12 12:27:03 +0000 |
commit | 590d66fda7ae1fb5d59555bd9af4cf212c2e7856 (patch) | |
tree | f5fab0b4f5b7df42b4c3af8755471bf07ec7cf50 /robot/assets/cmpv2/k8s-mongo.yaml | |
parent | 70902ea6a8086368524fef892ad52a951138e7c1 (diff) |
Add CMPv2 E2E test case in robot test suite
Issue-ID: INT-1731
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I79ac8cfc4755b134fa214d21cc71cc2b2067461b
Diffstat (limited to 'robot/assets/cmpv2/k8s-mongo.yaml')
-rw-r--r-- | robot/assets/cmpv2/k8s-mongo.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/robot/assets/cmpv2/k8s-mongo.yaml b/robot/assets/cmpv2/k8s-mongo.yaml new file mode 100644 index 00000000..8e4b4634 --- /dev/null +++ b/robot/assets/cmpv2/k8s-mongo.yaml @@ -0,0 +1,31 @@ +tosca_definitions_version: cloudify_dsl_1_3 +imports: + - 'http://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml' + - 'plugin:k8splugin?version=3.4.2' +inputs: + tag_version: + type: string + description: Docker image to be used + default: 'mongo' + replicas: + type: integer + description: Number of instances + default: 1 +node_templates: + mongo: + type: dcae.nodes.ContainerizedServiceComponent + interfaces: + cloudify.interfaces.lifecycle: + start: + inputs: + envs: + MONGO_INITDB_ROOT_USERNAME: root + MONGO_INITDB_ROOT_PASSWORD: zXcVbN123! + MONGO_INITDB_DATABASE: pnf_simulator + ports: + - '27017:0' + properties: + service_component_type: mongo + service_component_name_override: mongo + image: { get_input: tag_version } + replicas: { get_input: replicas } |