aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2019-07-16 15:42:57 +0200
committerKonrad Bańka <k.banka@samsung.com>2019-08-02 13:36:52 +0200
commit7087e0b0297dbd043642ae9414f18efad71ebae6 (patch)
tree8d06ac8a701468ca5f85db78b50f9541c446a31e /kud/deployment_infra
parent8d49d940823c9d0d653c9793a3d92a707f0862a9 (diff)
Update plugin.sh with new helper functions
Plugin.sh has been refactored to use new wrapper functions as well as utilize helm package command for creating resource bundle in order to test proper handling of this scenario by plugin Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ia35fac70153fdb34ba75bfff31f9b2566b986cf1
Diffstat (limited to 'kud/deployment_infra')
-rw-r--r--kud/deployment_infra/playbooks/configure-kud.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kud/deployment_infra/playbooks/configure-kud.yml b/kud/deployment_infra/playbooks/configure-kud.yml
index 0e32e69d..6ac0477d 100644
--- a/kud/deployment_infra/playbooks/configure-kud.yml
+++ b/kud/deployment_infra/playbooks/configure-kud.yml
@@ -23,6 +23,11 @@
when: helm_client.rc != 0
vars:
kubernetes_helm_ver: "v{{ helm_client_version }}"
+ tasks:
+ - name: Initialize helm client
+ command: helm init -c
+ args:
+ creates: ~/.helm
- hosts: kube-node
become: yes