diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-03-11 19:14:50 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-03-11 19:14:50 +0100 |
commit | a5e4db35a4a13612202758f893ab30360d98b9d4 (patch) | |
tree | 9b1bd053b8e966fa8a446d8d4fa50be64cc40d14 | |
parent | d1fcbd7a9a8511b895f9a163f7fa2a7bc0d72f2b (diff) | |
download | openshift-a5e4db35a4a13612202758f893ab30360d98b9d4.tar.gz openshift-a5e4db35a4a13612202758f893ab30360d98b9d4.tar.bz2 openshift-a5e4db35a4a13612202758f893ab30360d98b9d4.tar.xz openshift-a5e4db35a4a13612202758f893ab30360d98b9d4.zip |
Use svc.cluster.local link to access heketi instead of external route
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml index 4928e86e5..b8f3cab9d 100644 --- a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml +++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml @@ -293,7 +293,8 @@ - name: Determine StorageClass heketi URL set_fact: - glusterfs_heketi_route: "{{ heketi_route.results.results[0]['spec']['host'] }}" + glusterfs_heketi_route: "heketi-{{ glusterfs_name }}.{{ glusterfs_namespace }}.svc.cluster.local:8080" +# glusterfs_heketi_route: "{{ heketi_route.results.results[0]['spec']['host'] }}" when: - glusterfs_heketi_is_native @@ -344,7 +345,8 @@ - name: Determine StorageClass heketi URL set_fact: - glusterfs_heketi_route: "{{ heketi_route.results.results[0]['spec']['host'] }}" + glusterfs_heketi_route: "heketi-{{ glusterfs_name }}.{{ glusterfs_namespace }}.svc.cluster.local:8080" +# glusterfs_heketi_route: "{{ heketi_route.results.results[0]['spec']['host'] }}" when: - glusterfs_heketi_is_native - glusterfs_heketi_route is not defined |