- ---
- apiVersion: v1
- kind: Endpoints
- metadata:
- name: glusterfs-{{ 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
|