Make bodhi on openshift listen on correct url

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-04-13 15:29:42 +00:00
parent 4a54c073aa
commit 32f1e305bd
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,6 @@
- { role: openshift/start-build, vars: {app: bodhi, name: bodhi-web-build }}
- { role: openshift/object, vars: {app: bodhi, template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml" }}
- { role: openshift/object, vars: {app: bodhi, file: service.yml }}
- { role: openshift/object, vars: {app: bodhi, file: route.yml }}
- { role: openshift/object, vars: {app: bodhi, template: route.yml }}
- { role: openshift/object, vars: {app: bodhi, file: deploymentconfig.yml }}
- { role: openshift/rollout, vars: {app: bodhi, name: bodhi-web }}

View file

@ -5,6 +5,7 @@ metadata:
labels:
app: bodhi
spec:
host: "bodhi{{ env_suffix }}.fedoraproject.org"
port:
targetPort: web
to: