summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-09 13:58:26 -0800
committerGitHub <noreply@github.com>2017-11-09 13:58:26 -0800
commitc1045e5e433c0b6469040235e7bd151a9e767f9f (patch)
treeed0bf6f744d381a7aec4dc50d0670a92607456a0 /roles/openshift_hosted/tasks
parent7900f45d2d8ef566cf3f330a33364dd217a93c1d (diff)
parent4abb7381bdf439dfc1ab371be231f856620d7e19 (diff)
downloadopenshift-c1045e5e433c0b6469040235e7bd151a9e767f9f.tar.gz
openshift-c1045e5e433c0b6469040235e7bd151a9e767f9f.tar.bz2
openshift-c1045e5e433c0b6469040235e7bd151a9e767f9f.tar.xz
openshift-c1045e5e433c0b6469040235e7bd151a9e767f9f.zip
Merge pull request #5571 from vshn/registryip1
Automatic merge from submit-queue. Allow cluster IP for docker-registry service to be set For historical reasons a small set of programs in our environments rely on the cluster-internal Docker registry having the IP address "172.30.1.1". So far we always had to patch in that address manually. Adding a variable on the "openshift_hosted" role allows the IP address to be set correctly when a cluster is installed.
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r--roles/openshift_hosted/tasks/registry.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry.yml b/roles/openshift_hosted/tasks/registry.yml
index f1aa9c5a8..eaaac9da2 100644
--- a/roles/openshift_hosted/tasks/registry.yml
+++ b/roles/openshift_hosted/tasks/registry.yml
@@ -89,6 +89,7 @@
docker-registry: default
session_affinity: ClientIP
service_type: ClusterIP
+ clusterip: '{{ openshift_hosted_registry_clusterip | default(omit) }}'
- include: secure.yml
static: no