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/rancher/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/rancher/defaults')
-rw-r--r-- | ansible/roles/rancher/defaults/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/rancher/defaults/main.yml b/ansible/roles/rancher/defaults/main.yml index 6d354e6e..e4e12d23 100644 --- a/ansible/roles/rancher/defaults/main.yml +++ b/ansible/roles/rancher/defaults/main.yml @@ -4,6 +4,8 @@ rancher_remove_other_env: true rancher_redeploy_k8s_env: true rancher_cluster_health_state: healthy rancher_cluster_health_check_retries: 30 +kube_directory: ~/.kube +kube_server: "https://{{ ansible_host }}:8080/r/projects/{{ k8s_env_id | mandatory }}/kubernetes:6443" rancher: # The following variables can be set via the UI under advanced/settings. # All of these affect tables in the cattle db and are uninteresting |