diff options
author | Jack Lucas <jflos@sonoris.net> | 2020-08-12 11:30:41 -0400 |
---|---|---|
committer | Jack Lucas <jflos@sonoris.net> | 2020-08-12 11:33:09 -0400 |
commit | 43f0c2c84a1d1c0e9dd49e41c748f56b5820760b (patch) | |
tree | 4d5eb9a325684abdb4bfaf66d2f6f9019bd654ea /k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml | |
parent | 75758e6b5202c3a913c7a3509c3596a11c6270ad (diff) |
Add plugin testing blueprints
Issue-ID: DCAEGEN2-2352
Signed-off-by: Jack Lucas <jflos@sonoris.net>
Change-Id: Icacef912fc24d2814d513bd2df2a6aaed117ebb5
Diffstat (limited to 'k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml')
-rw-r--r-- | k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml new file mode 100644 index 0000000..61c9de4 --- /dev/null +++ b/k8s/plugin_testing_blueprints/blueprints/nginx-svc-lifecycle-inputs.yaml @@ -0,0 +1,29 @@ +tosca_definitions_version: cloudify_dsl_1_3 + +description: > + Simple blueprint to launch nginx as a "service component" + Set ports and envs via input to lifecycle operation + +imports: + - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml + - plugin:k8splugin?version=3.0.0 + +node_templates: + web_server: + type: dcae.nodes.ContainerizedServiceComponent + properties: + service_component_type: 'nginx-web' + image: nginx + docker_config: + healthcheck: + type: "http" + endpoint: "/" + interfaces: + cloudify.interfaces.lifecycle: + start: + inputs: + ports: + - '80:0' + envs: + MY_ENV1: value1 + MY_ENV0: value0 |