diff options
author | chinacoolhacker <chinacoolhacker@gmail.com> | 2017-10-25 00:27:19 +0300 |
---|---|---|
committer | chinacoolhacker <chinacoolhacker@gmail.com> | 2017-10-25 23:07:50 +0300 |
commit | 58357db1b6b6f04f27721c1b9f986325a470c773 (patch) | |
tree | 23c59a4040deaee42df2ae1f289ec50a00295131 /roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2 | |
parent | abb5b1c5b899a121b8d2990b33880c93cd46ac88 (diff) | |
download | openshift-58357db1b6b6f04f27721c1b9f986325a470c773.tar.gz openshift-58357db1b6b6f04f27721c1b9f986325a470c773.tar.bz2 openshift-58357db1b6b6f04f27721c1b9f986325a470c773.tar.xz openshift-58357db1b6b6f04f27721c1b9f986325a470c773.zip |
Glusterfs storage templates for v1.5 added
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2 b/roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2 new file mode 100644 index 000000000..99cbdf748 --- /dev/null +++ b/roles/openshift_storage_glusterfs/templates/v1.5/heketi-endpoints.yml.j2 @@ -0,0 +1,12 @@ +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: heketi-db-{{ glusterfs_name }}-endpoints +subsets: +- addresses: +{% for node in glusterfs_nodes %} + - ip: {{ hostvars[node].glusterfs_ip | default(hostvars[node].openshift.common.ip) }} +{% endfor %} + ports: + - port: 1 |