# ============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.
User for connecting to agent VMs
default: centos
+ helm_version:
+ description: helm version to be installed
+ default: v2.7.0
+
dsl_definitions:
openstack_config: &openstack_config
- 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: