R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-appconfig.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2
3 description: >
4   Simple blueprint to launch nginx as a "service component"
5   Set nested application configuration
6
7 imports:
8   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
9   - plugin:k8splugin?version=>=3.0.0,<4.0.0
10
11 node_templates:
12   web_server:
13     type: dcae.nodes.ContainerizedServiceComponent
14     properties:
15         service_component_type: 'nginx-web'
16         image: nginx
17         application_config:
18           prop1: "val1"
19           prop2: 1434
20           prop3: ["a", "b", "c"]
21           prop4:
22             prop4a:
23               prop4a1: "val4a1"
24               prop4a2: 4343
25               prop4a3: ["x", "y", "z"]
26             prop4b: "val4b"
27         docker_config:
28             healthcheck:
29               type: "http"
30               endpoint: "/"
31             ports:
32               - '80:0'