diff options
Diffstat (limited to 'roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml')
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml b/roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml index fc4fbe7e1..318d34b5d 100644 --- a/roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml +++ b/roles/openshift_storage_glusterfs/tasks/heketi_deploy_part1.yml @@ -6,6 +6,16 @@ with_items: - "deploy-heketi-template.yml" +- name: Create heketi topology secret + oc_secret: + namespace: "{{ glusterfs_namespace }}" + state: present + name: "heketi-{{ glusterfs_name }}-topology-secret" + force: True + files: + - name: topology.json + path: "{{ mktemp.stdout }}/topology.json" + - name: Create deploy-heketi template oc_obj: namespace: "{{ glusterfs_namespace }}" @@ -27,6 +37,7 @@ HEKETI_ADMIN_KEY: "{{ glusterfs_heketi_admin_key }}" HEKETI_KUBE_NAMESPACE: "{{ glusterfs_namespace }}" CLUSTER_NAME: "{{ glusterfs_name }}" + TOPOLOGY_PATH: "{{ mktemp.stdout }}" - name: Wait for deploy-heketi pod oc_obj: |