From e893c818a62665729bcdabe27cf0b3f05937d374 Mon Sep 17 00:00:00 2001 From: Mangirdas Date: Sun, 19 Nov 2017 18:40:11 +0000 Subject: Add support for external glusterfs as registry backend --- .../templates/v3.6/glusterfs-registry-endpoints.yml.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roles/openshift_hosted/templates/v3.6/glusterfs-registry-endpoints.yml.j2 (limited to 'roles/openshift_hosted/templates/v3.6/glusterfs-registry-endpoints.yml.j2') diff --git a/roles/openshift_hosted/templates/v3.6/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_hosted/templates/v3.6/glusterfs-registry-endpoints.yml.j2 new file mode 100644 index 000000000..607d25533 --- /dev/null +++ b/roles/openshift_hosted/templates/v3.6/glusterfs-registry-endpoints.yml.j2 @@ -0,0 +1,12 @@ +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: {{ openshift.hosted.registry.storage.glusterfs.endpoints }} +subsets: +- addresses: +{% for ip in openshift_hosted_registry_storage_glusterfs_ips %} + - ip: {{ ip }} +{% endfor %} + ports: + - port: 1 -- cgit v1.2.3