diff options
author | Scott Dodson <sdodson@redhat.com> | 2018-02-05 14:31:47 -0500 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2018-02-05 15:09:07 -0500 |
commit | 5402ff05c7f5695bbe60cb6966e57a038c4fe1c0 (patch) | |
tree | 5dfc6f4d0df5bd4d455a09efd1f3914bf76cf9d6 /roles/openshift_hosted/templates | |
parent | 90f577883066f7213afca2a1159c69cabece57dc (diff) | |
download | openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.gz openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.bz2 openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.tar.xz openshift-5402ff05c7f5695bbe60cb6966e57a038c4fe1c0.zip |
Initial support for 3.10
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r-- | roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2 | 12 | ||||
-rw-r--r-- | roles/openshift_hosted/templates/v3.10/glusterfs-registry-service.yml.j2 | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2 new file mode 100644 index 000000000..3c874d910 --- /dev/null +++ b/roles/openshift_hosted/templates/v3.10/glusterfs-registry-endpoints.yml.j2 @@ -0,0 +1,12 @@ +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: {{ openshift_hosted_registry_storage_glusterfs_endpoints }} +subsets: +- addresses: +{% for ip in openshift_hosted_registry_storage_glusterfs_ips %} + - ip: {{ ip }} +{% endfor %} + ports: + - port: 1 diff --git a/roles/openshift_hosted/templates/v3.10/glusterfs-registry-service.yml.j2 b/roles/openshift_hosted/templates/v3.10/glusterfs-registry-service.yml.j2 new file mode 100644 index 000000000..f18c94a4f --- /dev/null +++ b/roles/openshift_hosted/templates/v3.10/glusterfs-registry-service.yml.j2 @@ -0,0 +1,10 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: {{ openshift_hosted_registry_storage_glusterfs_endpoints }} +spec: + ports: + - port: 1 +status: + loadBalancer: {} |