diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-12-07 16:43:44 -0500 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-12-07 16:43:44 -0500 |
commit | 1843ab848b55eb395dae954c363f2b7de7bb21fc (patch) | |
tree | 8d96963db2da08344379703ae829689c133cf69c | |
parent | 6b8e080ad147b99bd257ec83474db415c72bd8e4 (diff) | |
download | openshift-1843ab848b55eb395dae954c363f2b7de7bb21fc.tar.gz openshift-1843ab848b55eb395dae954c363f2b7de7bb21fc.tar.bz2 openshift-1843ab848b55eb395dae954c363f2b7de7bb21fc.tar.xz openshift-1843ab848b55eb395dae954c363f2b7de7bb21fc.zip |
add 3.8 templates for gluster ep and svc
-rw-r--r-- | roles/openshift_hosted/templates/v3.9/glusterfs-registry-endpoints.yml.j2 | 12 | ||||
-rw-r--r-- | roles/openshift_hosted/templates/v3.9/glusterfs-registry-service.yml.j2 | 10 |
2 files changed, 22 insertions, 0 deletions
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: {} |