From ce776f0f6aae6ddec6d7f47864970198e74cab87 Mon Sep 17 00:00:00 2001 From: Sascha Marcel Schmidt Date: Wed, 5 Sep 2018 15:59:56 +0200 Subject: [PATCH] actually use heketi auth --- .../network-storage/heketi/roles/provision/tasks/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/network-storage/heketi/roles/provision/tasks/bootstrap.yml b/contrib/network-storage/heketi/roles/provision/tasks/bootstrap.yml index a21cfadd6..788f01f4b 100644 --- a/contrib/network-storage/heketi/roles/provision/tasks/bootstrap.yml +++ b/contrib/network-storage/heketi/roles/provision/tasks/bootstrap.yml @@ -23,7 +23,7 @@ - name: "Test heketi topology." changed_when: false register: "heketi_topology" - command: "{{ bin_dir }}/kubectl exec {{ initial_heketi_pod_name }} -- heketi-cli topology info --json" + command: "{{ bin_dir }}/kubectl exec {{ initial_heketi_pod_name }} -- heketi-cli --user admin --secret {{ heketi_admin_key }} topology info --json" - name: "Load heketi topology." when: "heketi_topology.stdout|from_json|json_query(\"clusters[*].nodes[*]\")|flatten|length == 0" include_tasks: "bootstrap/topology.yml"