diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-07 16:48:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-07 16:48:19 -0500 |
commit | bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d (patch) | |
tree | 6c48103cf710d9c81ebaf4d63286d2f3eb6e8705 /roles/openshift_hosted | |
parent | d6ea0d5f39637c6e888008621fa0193c0fa049f4 (diff) | |
parent | 1843ab848b55eb395dae954c363f2b7de7bb21fc (diff) | |
download | openshift-bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d.tar.gz openshift-bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d.tar.bz2 openshift-bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d.tar.xz openshift-bb54b2f2b5a34f1c4005aa24877ebb23d8a4607d.zip |
Merge pull request #6385 from mjudeikis/hosted-template-var
add 3.8 templates for gluster ep and svc
Diffstat (limited to 'roles/openshift_hosted')
4 files changed, 44 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: {} diff --git a/roles/openshift_hosted/templates/v3.9/glusterfs-registry-endpoints.yml.j2 b/roles/openshift_hosted/templates/v3.9/glusterfs-registry-endpoints.yml.j2 new file mode 100644 index 000000000..3c874d910 --- /dev/null +++ b/roles/openshift_hosted/templates/v3.9/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.9/glusterfs-registry-service.yml.j2 b/roles/openshift_hosted/templates/v3.9/glusterfs-registry-service.yml.j2 new file mode 100644 index 000000000..f18c94a4f --- /dev/null +++ b/roles/openshift_hosted/templates/v3.9/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: {} |