Give Bodhi grous vars for how many OpenShift pods to run.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow
2018-05-17 17:40:30 +00:00
parent 5f616ef1c5
commit 488e718455
3 changed files with 11 additions and 4 deletions

View File

@@ -8,7 +8,11 @@ items:
service: web
name: bodhi-web
spec:
replicas: 2
{% if env == "staging" %}
replicas: {{ groupvars['bodhi2-stg']['openshift_pods'] }}
{% else %}
replicas: {{ groupvars['bodhi2']['openshift_pods'] }}
{% endif %}
selector:
deploymentconfig: bodhi-web
strategy: