summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/templates
diff options
context:
space:
mode:
authorMangirdas <m.judeikis@gmail.com>2017-12-07 16:16:36 +0000
committerMangirdas <m.judeikis@gmail.com>2017-12-07 16:16:36 +0000
commit6b8e080ad147b99bd257ec83474db415c72bd8e4 (patch)
tree93df35408da4b25e0dfbf406cad4ba0abf6395e4 /roles/openshift_hosted/templates
parent2124109d3c35ac120bd41ece981eb8ca3101f00e (diff)
downloadopenshift-6b8e080ad147b99bd257ec83474db415c72bd8e4.tar.gz
openshift-6b8e080ad147b99bd257ec83474db415c72bd8e4.tar.bz2
openshift-6b8e080ad147b99bd257ec83474db415c72bd8e4.tar.xz
openshift-6b8e080ad147b99bd257ec83474db415c72bd8e4.zip
add 3.8 templates for gluster ep and svc
Diffstat (limited to 'roles/openshift_hosted/templates')
-rw-r--r--roles/openshift_hosted/templates/v3.8/glusterfs-registry-endpoints.yml.j212
-rw-r--r--roles/openshift_hosted/templates/v3.8/glusterfs-registry-service.yml.j210
2 files changed, 22 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/v3.8/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_hosted/templates/v3.8/glusterfs-registry-endpoints.yml.j2
new file mode 100644
index 000000000..3c874d910
--- /dev/null
+++ b/roles/openshift_hosted/templates/v3.8/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.8/glusterfs-registry-service.yml.j2 b/roles/openshift_hosted/templates/v3.8/glusterfs-registry-service.yml.j2
new file mode 100644
index 000000000..f18c94a4f
--- /dev/null
+++ b/roles/openshift_hosted/templates/v3.8/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: {}