summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/kargo/tasks
diff options
context:
space:
mode:
authorHU Xinhui <xinhui_hu@foxmail.com>2018-02-11 02:15:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-11 02:15:10 +0000
commit5dd3af7fd00971a96d91397f9754e6455abb660d (patch)
treeaa44494eb9ba542f391a2dab9036ebc8f3dbe526 /deploy/adapters/ansible/kubernetes/roles/kargo/tasks
parentbb9f83caad0d76277144d53caabe43fd317ce268 (diff)
parent04612cd0b3ee0ef6764a1a99299da52348b49e35 (diff)
Merge "change k8s version to v1.9.1"
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/kargo/tasks')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
index af52ad04..f68eec43 100644
--- a/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/kargo/tasks/main.yml
@@ -126,6 +126,13 @@
regexp: '^#loadbalancer_apiserver_localhost: true'
line: 'loadbalancer_apiserver_localhost: true'
+- name: use the user name and password login the dashboard
+ lineinfile:
+ dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml
+ regexp: '^#kube_basic_auth: false'
+ line: 'kube_basic_auth: true'
+
+
- name: add vip to ssl keys
lineinfile:
dest: /opt/kargo_k8s/inventory/group_vars/k8s-cluster.yml