Parcourir la source

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

GlusterFS: Check for namespace if deploying a StorageClass
Scott Dodson il y a 7 ans
Parent
commit
1249a1f102
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: