summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/defaults
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-02 12:04:26 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-03-02 17:36:28 -0500
commit71b27bb845a88d18d23c4ad9dfe7628b81db60f7 (patch)
tree6b0779477ef623c1f00e3aa9affb99f3ae555175 /roles/openshift_hosted/defaults
parent4630305622b6f8d6957f93da72b15fe4bda1fd02 (diff)
downloadopenshift-71b27bb845a88d18d23c4ad9dfe7628b81db60f7.tar.gz
openshift-71b27bb845a88d18d23c4ad9dfe7628b81db60f7.tar.bz2
openshift-71b27bb845a88d18d23c4ad9dfe7628b81db60f7.tar.xz
openshift-71b27bb845a88d18d23c4ad9dfe7628b81db60f7.zip
Adding support for router sharding.
Diffstat (limited to 'roles/openshift_hosted/defaults')
-rw-r--r--roles/openshift_hosted/defaults/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml
index 17a0d5301..769d006e1 100644
--- a/roles/openshift_hosted/defaults/main.yml
+++ b/roles/openshift_hosted/defaults/main.yml
@@ -1,2 +1,24 @@
---
registry_volume_claim: 'registry-claim'
+
+openshift_hosted_router_edits:
+- key: spec.strategy.rollingParams.intervalSeconds
+ value: 1
+ action: put
+- key: spec.strategy.rollingParams.updatePeriodSeconds
+ value: 1
+ action: put
+- key: spec.strategy.activeDeadlineSeconds
+ value: 21600
+ action: put
+
+openshift_hosted_routers:
+- name: router
+ replicas: "{{ openshift_hosted_router_replicas }}"
+ namespace: default
+ serviceaccount: router
+ selector: "{{ openshift_hosted_router_selector }}"
+ images: "{{ openshift_hosted_router_image }}"
+ edits: "{{ openshift_hosted_router_edits }}"
+
+openshift_hosted_router_certificates: {}