summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2')
-rw-r--r--roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2
new file mode 100644
index 000000000..3c874d910
--- /dev/null
+++ b/roles/openshift_hosted/templates/v3.10/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