summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-07-21 14:05:30 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-07-21 14:05:30 -0500
commitccbad9c64a7f13a6f0653658a4376eb7cdceee3f (patch)
treeb3afe142533763d6dc13beccd2e60cbf6f31a971 /roles
parent9820edba147ea0a94eb02d893fa5ec94a4125efb (diff)
downloadopenshift-ccbad9c64a7f13a6f0653658a4376eb7cdceee3f.tar.gz
openshift-ccbad9c64a7f13a6f0653658a4376eb7cdceee3f.tar.bz2
openshift-ccbad9c64a7f13a6f0653658a4376eb7cdceee3f.tar.xz
openshift-ccbad9c64a7f13a6f0653658a4376eb7cdceee3f.zip
GlusterFS: Create registry storage svc and ep in registry namespace
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml b/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml
index 657014e48..e46cec378 100644
--- a/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml
+++ b/roles/openshift_storage_glusterfs/tasks/glusterfs_registry.yml
@@ -56,7 +56,7 @@
- name: Create GlusterFS registry endpoints
oc_obj:
- namespace: "{{ glusterfs_namespace }}"
+ namespace: "{{ openshift.hosted.registry.namespace | default('default') }}"
state: present
kind: endpoints
name: "glusterfs-{{ glusterfs_name }}-endpoints"
@@ -65,7 +65,7 @@
- name: Create GlusterFS registry service
oc_obj:
- namespace: "{{ glusterfs_namespace }}"
+ namespace: "{{ openshift.hosted.registry.namespace | default('default') }}"
state: present
kind: service
name: "glusterfs-{{ glusterfs_name }}-endpoints"