summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2018-02-06 21:53:36 -0500
committerGitHub <noreply@github.com>2018-02-06 21:53:36 -0500
commit4829d3b280801ae4b8530d2de29fdcf5328e26cb (patch)
treee898397bb84473626918e4731f9cb7a52c57f5d2 /roles/openshift_hosted/templates
parent9cdf6e8a3dc1d4ff399e3d85fe7e8b6d38ab92a4 (diff)
parent5402ff05c7f5695bbe60cb6966e57a038c4fe1c0 (diff)
downloadopenshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.gz
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.bz2
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.tar.xz
openshift-4829d3b280801ae4b8530d2de29fdcf5328e26cb.zip
Merge pull request #7015 from sdodson/v310
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.j212
-rw-r--r--roles/openshift_hosted/templates/v3.10/glusterfs-registry-service.yml.j210
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: {}