Explorar el Código

Merge pull request #4961 from jarrpa/minor-namespace-fix

GlusterFS: Check for namespace if deploying a StorageClass
Scott Dodson hace 7 años
padre
commit
1249a1f102
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      roles/openshift_storage_glusterfs/tasks/glusterfs_common.yml

+ 1 - 1
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: