diff options
author | Russell Teague <rteague@redhat.com> | 2017-04-25 10:20:39 -0400 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-04-25 15:41:36 -0400 |
commit | 51ffcb739c1ebf9872aa3f45a905b087ae9e0f48 (patch) | |
tree | fccf877403a58bbd52c8200cdd3541dddb37e747 /roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2 | |
parent | d4d143778596087175f1bd5339a1bed1288e8520 (diff) | |
download | openshift-51ffcb739c1ebf9872aa3f45a905b087ae9e0f48.tar.gz openshift-51ffcb739c1ebf9872aa3f45a905b087ae9e0f48.tar.bz2 openshift-51ffcb739c1ebf9872aa3f45a905b087ae9e0f48.tar.xz openshift-51ffcb739c1ebf9872aa3f45a905b087ae9e0f48.zip |
Standardize all Origin versioning on 3.6
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2 new file mode 100644 index 000000000..d72d085c9 --- /dev/null +++ b/roles/openshift_storage_glusterfs/templates/v3.6/glusterfs-registry-endpoints.yml.j2 @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Endpoints +metadata: + name: glusterfs-registry-endpoints +subsets: +- addresses: +{% for node in groups.oo_glusterfs_to_config %} + - ip: {{ hostvars[node].glusterfs_ip | default(hostvars[node].openshift.common.ip) }} +{% endfor %} + ports: + - port: 1 |