diff options
author | Michal Zegan <m.zegan@samsung.com> | 2019-04-23 16:34:58 +0200 |
---|---|---|
committer | Petr OspalĂ˝ <p.ospaly@partner.samsung.com> | 2019-05-17 08:09:57 +0000 |
commit | 119f760bc517ca037fbbc90bc741902c75c4696c (patch) | |
tree | e91d80624ebee447338721aaaef2820ec19bbf2f /ansible/roles/rke/defaults | |
parent | fe49ee9006e9396c79f90365b9e814ee70c9fcee (diff) |
Add setup for kubectl and helm
the kubeconfig is copied from the cluster config directory to ~/.kube/config.
Also, the playbook runs kubectl and helm roles to install tools.
Change-Id: I29ee98f6502bbb7923b1ae6812dd642ca206dbce
Issue-ID: OOM-1778
Signed-off-by: Petr OspalĂ˝ <p.ospaly@partner.samsung.com>
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/rke/defaults')
-rw-r--r-- | ansible/roles/rke/defaults/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/rke/defaults/main.yml b/ansible/roles/rke/defaults/main.yml index 3e1c26a6..cbf03b74 100644 --- a/ansible/roles/rke/defaults/main.yml +++ b/ansible/roles/rke/defaults/main.yml @@ -2,8 +2,10 @@ rke_binary: rke rke_username: rke rke_bin_dir: /usr/local/bin +kube_config_dir: "{{ ansible_env.HOME }}/.kube" cluster_config_dir: "{{ app_data_path }}/cluster" rke: + # rke (rancher) images etcd: rancher/coreos-etcd:v3.2.24-rancher1 alpine: rancher/rke-tools:v0.1.27 nginx_proxy: rancher/rke-tools:v0.1.27 |