summaryrefslogtreecommitdiffstats
path: root/anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-11 20:02:50 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-11 20:02:50 +0100
commit0db2995395d28caf4676ab566085b7c66130b629 (patch)
treedcafcecefc3785388ecddae44f6f5f9a6aae251b /anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch
parentf3c41dd13a0a86382b80d564e9de0d6b06fb1dbf (diff)
downloadands-0db2995395d28caf4676ab566085b7c66130b629.tar.gz
ands-0db2995395d28caf4676ab566085b7c66130b629.tar.bz2
ands-0db2995395d28caf4676ab566085b7c66130b629.tar.xz
ands-0db2995395d28caf4676ab566085b7c66130b629.zip
Add patches also for small modules
Diffstat (limited to 'anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch')
-rw-r--r--anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch b/anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch
new file mode 100644
index 0000000..75a8a43
--- /dev/null
+++ b/anslib/patches/openshift/glusterfs-ds-use_cluster_local_for_heketi.patch
@@ -0,0 +1,24 @@
+diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml
+index 4928e86..b8f3cab 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