diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-21 13:11:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 13:11:11 -0500 |
commit | 65464f64236ea0aad56e2be5ece34412ad60f919 (patch) | |
tree | f9c05409d09be6ca028e3f3502c2aa217aa08b95 /roles/openshift_storage_glusterfs/templates/v3.8/heketi-endpoints.yml.j2 | |
parent | d3db256551db1b073bb543e3e3a541bc52b23f32 (diff) | |
parent | 7ce0ab6cf7df29ddaa72dbcc046ba73d594545a8 (diff) | |
download | openshift-65464f64236ea0aad56e2be5ece34412ad60f919.tar.gz openshift-65464f64236ea0aad56e2be5ece34412ad60f919.tar.bz2 openshift-65464f64236ea0aad56e2be5ece34412ad60f919.tar.xz openshift-65464f64236ea0aad56e2be5ece34412ad60f919.zip |
Merge pull request #6186 from jarrpa/glusterfs-files-3.8
GlusterFS: Files and templates for 3.8
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v3.8/heketi-endpoints.yml.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.8/heketi-endpoints.yml.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.8/heketi-endpoints.yml.j2 b/roles/openshift_storage_glusterfs/templates/v3.8/heketi-endpoints.yml.j2 new file mode 100644 index 000000000..99cbdf748 --- /dev/null +++ b/roles/openshift_storage_glusterfs/templates/v3.8/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 |