diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-08-01 10:04:24 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-08-01 10:04:49 -0500 |
commit | d46eeae50ee6f4ff1fdb992994efec48e9029b84 (patch) | |
tree | cf3bfccc1d910eacd672ef9c4b6a5760914f05b2 | |
parent | bf0bf407479458206f48885e43d3e1d3a2eab6e1 (diff) | |
download | openshift-d46eeae50ee6f4ff1fdb992994efec48e9029b84.tar.gz openshift-d46eeae50ee6f4ff1fdb992994efec48e9029b84.tar.bz2 openshift-d46eeae50ee6f4ff1fdb992994efec48e9029b84.tar.xz openshift-d46eeae50ee6f4ff1fdb992994efec48e9029b84.zip |
GlusterFS: Check for namespace if deploying a StorageClass
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1476197
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
-rw-r--r-- | roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml | 2 |
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: |