Browse Source

actually use heketi auth

pull/2931/head
Sascha Marcel Schmidt 6 years ago
parent
commit
ce776f0f6a
No known key found for this signature in database GPG Key ID: D1D6CE184437796D
1 changed files with 1 additions and 1 deletions
  1. 2
      contrib/network-storage/heketi/roles/provision/tasks/bootstrap.yml

2
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"

Loading…
Cancel
Save