X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=TOSCA%2Fkubernetes-cluster-TOSCA%2Fopenstack-blueprint.yaml;h=ae5700918689d3e8f5774e7266e6835887476a63;hb=0fb3b8f4d48a066259b8a9ea2a18d68d7644f8e5;hp=5c348e957db4b00c208aa8d1b32e476c9d45a691;hpb=b4b8a94b3c316e71d29013cfa6d3e348594bbf4b;p=oom.git diff --git a/TOSCA/kubernetes-cluster-TOSCA/openstack-blueprint.yaml b/TOSCA/kubernetes-cluster-TOSCA/openstack-blueprint.yaml index 5c348e957d..ae57009186 100644 --- a/TOSCA/kubernetes-cluster-TOSCA/openstack-blueprint.yaml +++ b/TOSCA/kubernetes-cluster-TOSCA/openstack-blueprint.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START========================================== # =================================================================== -# Copyright © 2017 AT&T +# Copyright (c) 2017 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -45,6 +45,10 @@ inputs: User for connecting to agent VMs default: centos + helm_version: + description: helm version to be installed + default: v2.9.1 + dsl_definitions: openstack_config: &openstack_config @@ -76,6 +80,25 @@ node_templates: - type: cloudify.relationships.contained_in target: kubernetes_master_host + k8s_tools: + type: cloudify.nodes.SoftwareComponent + properties: + interfaces: + cloudify.interfaces.lifecycle: + start: + implementation: fabric.fabric_plugin.tasks.run_script + inputs: + script_path: scripts/k8s_tools.sh + process: + args: [{ get_input: helm_version }] + fabric_env: + host_string: { get_attribute: [ kubernetes_master_host, ip ] } + user: { get_input: agent_user } + key: { get_secret: agent_key_private } + relationships: + - type: cloudify.relationships.contained_in + target: kubernetes_master + kubernetes_master_host: type: cloudify.openstack.nodes.Server properties: