glusterfs-registry-endpoints.yml.j2 272 B

123456789101112
  1. ---
  2. apiVersion: v1
  3. kind: Endpoints
  4. metadata:
  5. name: glusterfs-{{ glusterfs_name }}-endpoints
  6. subsets:
  7. - addresses:
  8. {% for node in glusterfs_nodes %}
  9. - ip: {{ hostvars[node].glusterfs_ip | default(hostvars[node].openshift.common.ip) }}
  10. {% endfor %}
  11. ports:
  12. - port: 1