R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-tls-server.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2
3 description: >
4   Simple blueprint to launch nginx as a "service component"
5   Put full certificate materials in non-default location
6   (Note that we don't configure nginx to actually use the
7   certificate.  This test just installs the certificate.)
8
9 imports:
10   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
11   - plugin:k8splugin?version=>=3.0.0,<4.0.0
12
13 node_templates:
14   web_server:
15     type: dcae.nodes.ContainerizedServiceComponent
16     properties:
17       service_component_type: 'nginx-web'
18       image: nginx
19       tls_info:
20         use_tls: true
21         cert_directory: "/opt/altcert"
22       docker_config:
23         healthcheck:
24           type: "http"
25           endpoint: "/"
26         ports:
27           - '80:0'