From 2e8005d1fc1424d90ab88a924e45546791e483b1 Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Fri, 28 Jul 2017 08:06:19 -0500 Subject: GlusterFS: Use default namespace when not native. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1476197 Signed-off-by: Jose A. Rivera --- roles/openshift_storage_glusterfs/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift_storage_glusterfs/defaults/main.yml b/roles/openshift_storage_glusterfs/defaults/main.yml index a846889ca..8661f33a1 100644 --- a/roles/openshift_storage_glusterfs/defaults/main.yml +++ b/roles/openshift_storage_glusterfs/defaults/main.yml @@ -1,6 +1,6 @@ --- openshift_storage_glusterfs_timeout: 300 -openshift_storage_glusterfs_namespace: 'glusterfs' +openshift_storage_glusterfs_namespace: "{{ 'glusterfs' | quote if glusterfs_is_native or glusterfs_heketi_is_native else 'default' | quote }}" openshift_storage_glusterfs_is_native: True openshift_storage_glusterfs_name: 'storage' openshift_storage_glusterfs_nodeselector: "glusterfs={{ openshift_storage_glusterfs_name }}-host" -- cgit v1.2.3