summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-01 20:54:58 -0400
committerGitHub <noreply@github.com>2017-08-01 20:54:58 -0400
commit1249a1f10252b8beec5105b2f53ce5d689f65ac1 (patch)
treef311f7829793f5807dfe35e50af2ac26b75d8bb9
parent60360f5e608c7b813e6782747b6c64a68d5020da (diff)
parentd46eeae50ee6f4ff1fdb992994efec48e9029b84 (diff)
downloadopenshift-1249a1f10252b8beec5105b2f53ce5d689f65ac1.tar.gz
openshift-1249a1f10252b8beec5105b2f53ce5d689f65ac1.tar.bz2
openshift-1249a1f10252b8beec5105b2f53ce5d689f65ac1.tar.xz
openshift-1249a1f10252b8beec5105b2f53ce5d689f65ac1.zip
Merge pull request #4961 from jarrpa/minor-namespace-fix
GlusterFS: Check for namespace if deploying a StorageClass
-rw-r--r--roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml
index 600d8f676..19eb3cdf7 100644
--- a/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml
+++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml
@@ -15,7 +15,7 @@
oc_project:
state: present
name: "{{ glusterfs_namespace }}"
- when: glusterfs_is_native or glusterfs_heketi_is_native
+ when: glusterfs_is_native or glusterfs_heketi_is_native or glusterfs_storageclass
- name: Delete pre-existing heketi resources
oc_obj: