glusterfs-registry-endpoints.yml.j2 256 B

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