[ansible-lint] prefix variable names for openshift/route role
ansible-lint requires that variables for roles are prefixed with the name of the role. This commit prefixes the variables for the openshift/route role with route_ as required by ansible-lint Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
776866cba3
commit
4dea370c66
37 changed files with 317 additions and 318 deletions
|
@ -38,19 +38,19 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: asknot
|
||||
routename: asknot
|
||||
host: "stg.whatcanidoforfedora.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: asknot
|
||||
route_app: asknot
|
||||
route_routename: asknot
|
||||
route_host: "stg.whatcanidoforfedora.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: asknot
|
||||
when: env == "staging"
|
||||
|
||||
- role: openshift/route
|
||||
app: asknot
|
||||
routename: asknot
|
||||
host: "whatcanidoforfedora.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: asknot
|
||||
route_app: asknot
|
||||
route_routename: asknot
|
||||
route_host: "whatcanidoforfedora.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: asknot
|
||||
when: env == "production"
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -125,20 +125,20 @@
|
|||
|
||||
# Routes
|
||||
- role: openshift/route
|
||||
app: badges
|
||||
routename: frontend
|
||||
host: "badges{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: frontend
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: badges
|
||||
route_routename: frontend
|
||||
route_host: "badges{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: frontend
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
- role: openshift/route
|
||||
app: badges
|
||||
routename: frontend-openshift
|
||||
host: "badges.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: frontend
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: badges
|
||||
route_routename: frontend-openshift
|
||||
route_host: "badges.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: frontend
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
# Fedora Messaging
|
||||
|
|
|
@ -117,20 +117,20 @@
|
|||
object_objectname: cron.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: blockerbugs
|
||||
routename: blockerbugs
|
||||
host: "qa{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/blockerbugs"
|
||||
serviceport: 8080-tcp
|
||||
servicename: blockerbugs
|
||||
route_app: blockerbugs
|
||||
route_routename: blockerbugs
|
||||
route_host: "qa{{ env_suffix }}.fedoraproject.org"
|
||||
route_path: "/blockerbugs"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: blockerbugs
|
||||
|
||||
- role: openshift/route
|
||||
app: blockerbugs
|
||||
routename: qa-landing
|
||||
host: "qa{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: qa-landing
|
||||
annotations:
|
||||
route_app: blockerbugs
|
||||
route_routename: qa-landing
|
||||
route_host: "qa{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: qa-landing
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
|
|
|
@ -127,12 +127,12 @@
|
|||
object_objectname: podmonitor.yml
|
||||
when: env != "production"
|
||||
- role: openshift/route
|
||||
app: bodhi
|
||||
routename: bodhi-web
|
||||
host: "bodhi{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: bodhi-web
|
||||
annotations:
|
||||
route_app: bodhi
|
||||
route_routename: bodhi-web
|
||||
route_host: "bodhi{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: bodhi-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 180s
|
||||
- role: openshift/object
|
||||
object_app: bodhi
|
||||
|
|
|
@ -70,32 +70,32 @@
|
|||
object_objectname: servicemonitor.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: coreos-cincinnati
|
||||
routename: coreos-updates
|
||||
host: "updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: coreos-cincinnati-updates
|
||||
servicename: coreos-cincinnati
|
||||
route_app: coreos-cincinnati
|
||||
route_routename: coreos-updates
|
||||
route_host: "updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: coreos-cincinnati-updates
|
||||
route_servicename: coreos-cincinnati
|
||||
|
||||
- role: openshift/route
|
||||
app: coreos-cincinnati
|
||||
routename: coreos-updates-status
|
||||
host: "status.updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: coreos-cincinnati-updates-status
|
||||
servicename: coreos-cincinnati
|
||||
route_app: coreos-cincinnati
|
||||
route_routename: coreos-updates-status
|
||||
route_host: "status.updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: coreos-cincinnati-updates-status
|
||||
route_servicename: coreos-cincinnati
|
||||
|
||||
- role: openshift/route
|
||||
app: coreos-cincinnati
|
||||
routename: coreos-updates-raw
|
||||
host: "raw-updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: coreos-cincinnati-raw-updates
|
||||
servicename: coreos-cincinnati
|
||||
route_app: coreos-cincinnati
|
||||
route_routename: coreos-updates-raw
|
||||
route_host: "raw-updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: coreos-cincinnati-raw-updates
|
||||
route_servicename: coreos-cincinnati
|
||||
|
||||
- role: openshift/route
|
||||
app: coreos-cincinnati
|
||||
routename: coreos-updates-raw-status
|
||||
host: "status.raw-updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: coreos-cincinnati-raw-updates-status
|
||||
servicename: coreos-cincinnati
|
||||
route_app: coreos-cincinnati
|
||||
route_routename: coreos-updates-raw-status
|
||||
route_host: "status.raw-updates.coreos{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: coreos-cincinnati-raw-updates-status
|
||||
route_servicename: coreos-cincinnati
|
||||
|
||||
###############################################
|
||||
# actions to delete the project from OpenShift
|
||||
|
|
|
@ -81,13 +81,13 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: datagrepper
|
||||
routename: datagrepper
|
||||
host: "apps{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/datagrepper"
|
||||
serviceport: web
|
||||
servicename: datagrepper-web
|
||||
annotations:
|
||||
route_app: datagrepper
|
||||
route_routename: datagrepper
|
||||
route_host: "apps{{ env_suffix }}.fedoraproject.org"
|
||||
route_path: "/datagrepper"
|
||||
route_serviceport: web
|
||||
route_servicename: datagrepper-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -60,11 +60,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: discourse2fedmsg
|
||||
routename: discourse2fedmsg
|
||||
host: "discourse2fedmsg{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: discourse2fedmsg-web
|
||||
route_app: discourse2fedmsg
|
||||
route_routename: discourse2fedmsg
|
||||
route_host: "discourse2fedmsg{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: discourse2fedmsg-web
|
||||
|
||||
- role: openshift/object
|
||||
object_app: discourse2fedmsg
|
||||
|
|
|
@ -51,12 +51,12 @@
|
|||
|
||||
# Routes
|
||||
- role: openshift/route
|
||||
app: easyfix
|
||||
routename: web
|
||||
host: "easyfix.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: web
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: easyfix
|
||||
route_routename: web
|
||||
route_host: "easyfix.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: web
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -103,11 +103,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: elections
|
||||
routename: elections
|
||||
host: "elections{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8000-tcp
|
||||
servicename: elections
|
||||
route_app: elections
|
||||
route_routename: elections
|
||||
route_host: "elections{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8000-tcp
|
||||
route_servicename: elections
|
||||
|
||||
- role: openshift/object
|
||||
object_app: elections
|
||||
|
|
|
@ -92,12 +92,12 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: fasjson
|
||||
routename: fasjson
|
||||
host: "fasjson{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: fasjson-web
|
||||
annotations:
|
||||
route_app: fasjson
|
||||
route_routename: fasjson
|
||||
route_host: "fasjson{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: fasjson-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -69,11 +69,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: fedocal
|
||||
routename: fedocal
|
||||
host: "calendar{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: fedocal
|
||||
route_app: fedocal
|
||||
route_routename: fedocal
|
||||
route_host: "calendar{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: fedocal
|
||||
|
||||
- role: openshift/object
|
||||
object_app: fedocal
|
||||
|
|
|
@ -48,11 +48,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: fedora-packages-static
|
||||
routename: fedora-packages-static
|
||||
host: "packages{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: fedora-packages-static
|
||||
route_app: fedora-packages-static
|
||||
route_routename: fedora-packages-static
|
||||
route_host: "packages{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: fedora-packages-static
|
||||
|
||||
- role: openshift/object
|
||||
object_app: fedora-packages-static
|
||||
|
|
|
@ -43,22 +43,22 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
# - role: openshift/route
|
||||
# app: test-auth
|
||||
# routename: test-auth
|
||||
# host: "admin{{ env_suffix }}.fedoraproject.org"
|
||||
# path: "/test-auth"
|
||||
# serviceport: web
|
||||
# servicename: test-auth
|
||||
# annotations:
|
||||
# route_app: test-auth
|
||||
# route_routename: test-auth
|
||||
# route_host: "admin{{ env_suffix }}.fedoraproject.org"
|
||||
# route_path: "/test-auth"
|
||||
# route_serviceport: web
|
||||
# route_servicename: test-auth
|
||||
# route_annotations:
|
||||
# haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/route
|
||||
app: flask-oidc-dev
|
||||
routename: flask-oidc-dev
|
||||
host: "app-flask-oidc-dev.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: flask-oidc-dev
|
||||
annotations:
|
||||
route_app: flask-oidc-dev
|
||||
route_routename: flask-oidc-dev
|
||||
route_host: "app-flask-oidc-dev.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: flask-oidc-dev
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
when: ocp4
|
||||
|
||||
|
|
|
@ -145,29 +145,29 @@
|
|||
|
||||
# Routes
|
||||
- role: openshift/route
|
||||
app: fmn
|
||||
routename: frontend
|
||||
host: "notifications{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: frontend
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: fmn
|
||||
route_routename: frontend
|
||||
route_host: "notifications{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: frontend
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
- role: openshift/route
|
||||
app: fmn
|
||||
routename: api
|
||||
host: "fmn-api.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: api
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: fmn
|
||||
route_routename: api
|
||||
route_host: "fmn-api.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: api
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
# Sendria is an email sink for testing, to avoid sending actual emails.
|
||||
- role: openshift/route
|
||||
app: fmn
|
||||
routename: sendria
|
||||
host: "fmn-email.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: sendria
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: fmn
|
||||
route_routename: sendria
|
||||
route_host: "fmn-email.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: sendria
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
when: env == "staging"
|
||||
|
||||
|
|
|
@ -67,11 +67,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: greenwave
|
||||
routename: web-pretty
|
||||
host: "greenwave{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: greenwave-web
|
||||
route_app: greenwave
|
||||
route_routename: web-pretty
|
||||
route_host: "greenwave{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: greenwave-web
|
||||
|
||||
# TODO -- someday retire this old route in favor of the pretty one above.
|
||||
- role: openshift/object
|
||||
|
|
|
@ -35,21 +35,21 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: ipsilon-website
|
||||
routename: web-internal
|
||||
host: "ipsilon-website.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: web
|
||||
annotations:
|
||||
route_app: ipsilon-website
|
||||
route_routename: web-internal
|
||||
route_host: "ipsilon-website.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/route
|
||||
app: ipsilon-website
|
||||
routename: web
|
||||
host: "ipsilon-project.org"
|
||||
serviceport: web
|
||||
servicename: web
|
||||
annotations:
|
||||
route_app: ipsilon-website
|
||||
route_routename: web
|
||||
route_host: "ipsilon-project.org"
|
||||
route_serviceport: web
|
||||
route_servicename: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -117,11 +117,11 @@
|
|||
object_objectname: cron.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: kanban
|
||||
routename: kanban
|
||||
host: "kanban.qa{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: kanban-web
|
||||
route_app: kanban
|
||||
route_routename: kanban
|
||||
route_host: "kanban.qa{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: kanban-web
|
||||
|
||||
- role: openshift/start-build
|
||||
app: kanban
|
||||
|
|
|
@ -97,12 +97,12 @@
|
|||
app: kerneltest
|
||||
|
||||
- role: openshift/route
|
||||
app: kerneltest
|
||||
routename: kerneltest
|
||||
host: "kerneltest{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: kerneltest-web
|
||||
annotations:
|
||||
route_app: kerneltest
|
||||
route_routename: kerneltest
|
||||
route_host: "kerneltest{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: kerneltest-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
host: "koschei-backend01{{ env_suffix }}.iad2.fedoraproject.org"
|
||||
|
||||
- role: openshift/route
|
||||
routename: frontend
|
||||
host: "koschei{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: frontend
|
||||
annotations:
|
||||
route_routename: frontend
|
||||
route_host: "koschei{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: frontend
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
haproxy.router.openshift.io/timeout: 180s
|
||||
|
||||
|
|
|
@ -37,11 +37,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: languages
|
||||
routename: languages
|
||||
host: "languages{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: web
|
||||
route_app: languages
|
||||
route_routename: languages
|
||||
route_host: "languages{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: web
|
||||
|
||||
- role: openshift/object
|
||||
object_app: languages
|
||||
|
|
|
@ -101,11 +101,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: maubot
|
||||
routename: maubot
|
||||
host: "maubot.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: maubot
|
||||
servicename: maubot
|
||||
route_app: maubot
|
||||
route_routename: maubot
|
||||
route_host: "maubot.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: maubot
|
||||
route_servicename: maubot
|
||||
|
||||
- role: openshift/object
|
||||
object_app: maubot
|
||||
|
|
|
@ -77,11 +77,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: mdapi
|
||||
routename: mdapi
|
||||
host: "mdapi{{env_suffix}}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: mdapi
|
||||
route_app: mdapi
|
||||
route_routename: mdapi
|
||||
route_host: "mdapi{{env_suffix}}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: mdapi
|
||||
|
||||
- role: openshift/object
|
||||
object_app: mdapi
|
||||
|
|
|
@ -88,21 +88,21 @@
|
|||
|
||||
# Routes
|
||||
- role: openshift/route
|
||||
app: mirrormanager
|
||||
routename: frontend
|
||||
host: "{{ mirrormanager_hostname }}"
|
||||
servicename: frontend
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: mirrormanager
|
||||
route_routename: frontend
|
||||
route_host: "{{ mirrormanager_hostname }}"
|
||||
route_servicename: frontend
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/route
|
||||
app: mirrormanager
|
||||
routename: frontend-openshift
|
||||
host: "mirrormanager.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: frontend
|
||||
serviceport: web
|
||||
annotations:
|
||||
route_app: mirrormanager
|
||||
route_routename: frontend-openshift
|
||||
route_host: "mirrormanager.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: frontend
|
||||
route_serviceport: web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
when: mirrormanager_hostname != "mirrormanager.apps.ocp{}.fedoraproject.org".format(env_suffix)
|
||||
|
||||
|
|
|
@ -72,11 +72,11 @@
|
|||
object_objectname: pvc.yml
|
||||
|
||||
- role: openshift/route
|
||||
routename: mote
|
||||
serviceport: mote-tcp
|
||||
servicename: mote
|
||||
host: "meetbot{{ env_suffix }}.fedoraproject.org"
|
||||
annotations:
|
||||
route_routename: mote
|
||||
route_serviceport: mote-tcp
|
||||
route_servicename: mote
|
||||
route_host: "meetbot{{ env_suffix }}.fedoraproject.org"
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
|
|
|
@ -80,12 +80,12 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: noggin-centos
|
||||
routename: noggin
|
||||
host: "accounts{{ env_suffix }}.centos.org"
|
||||
serviceport: web
|
||||
servicename: noggin-web
|
||||
annotations:
|
||||
route_app: noggin-centos
|
||||
route_routename: noggin
|
||||
route_host: "accounts{{ env_suffix }}.centos.org"
|
||||
route_serviceport: web
|
||||
route_servicename: noggin-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -77,12 +77,12 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: noggin
|
||||
routename: noggin
|
||||
host: "accounts{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: noggin-web
|
||||
annotations:
|
||||
route_app: noggin
|
||||
route_routename: noggin
|
||||
route_host: "accounts{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: noggin-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
|
|
|
@ -84,42 +84,42 @@
|
|||
object_objectname: secret.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: oraculum
|
||||
routename: oraculum-api
|
||||
host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/api"
|
||||
serviceport: 8080-tcp
|
||||
servicename: oraculum-api-endpoint
|
||||
annotations:
|
||||
route_app: oraculum
|
||||
route_routename: oraculum-api
|
||||
route_host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
route_path: "/api"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: oraculum-api-endpoint
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/route
|
||||
app: oraculum
|
||||
routename: oraculum-oidc-callback
|
||||
host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/oidc_callback"
|
||||
serviceport: 8080-tcp
|
||||
servicename: oraculum-api-endpoint
|
||||
annotations:
|
||||
route_app: oraculum
|
||||
route_routename: oraculum-oidc-callback
|
||||
route_host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
route_path: "/oidc_callback"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: oraculum-api-endpoint
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/route
|
||||
app: oraculum
|
||||
routename: oraculum-flower
|
||||
host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
path: "/_flower"
|
||||
serviceport: 8080-tcp
|
||||
servicename: oraculum-flower
|
||||
annotations:
|
||||
route_app: oraculum
|
||||
route_routename: oraculum-flower
|
||||
route_host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
route_path: "/_flower"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: oraculum-flower
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/route
|
||||
app: oraculum
|
||||
routename: oraculum-frontend
|
||||
host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: oraculum-frontend
|
||||
annotations:
|
||||
route_app: oraculum
|
||||
route_routename: oraculum-frontend
|
||||
route_host: "packager-dashboard{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: oraculum-frontend
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
|
||||
- role: openshift/start-build
|
||||
|
|
|
@ -55,21 +55,21 @@
|
|||
object_objectname: pvc.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: planet
|
||||
routename: planet
|
||||
host: "planet.apps.ocp{{env_suffix}}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: planet
|
||||
annotations:
|
||||
route_app: planet
|
||||
route_routename: planet
|
||||
route_host: "planet.apps.ocp{{env_suffix}}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: planet
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/route
|
||||
app: planet
|
||||
routename: planet
|
||||
host: "{{env_prefix}}fedoraplanet.org"
|
||||
serviceport: web
|
||||
servicename: planet
|
||||
annotations:
|
||||
route_app: planet
|
||||
route_routename: planet
|
||||
route_host: "{{env_prefix}}fedoraplanet.org"
|
||||
route_serviceport: web
|
||||
route_servicename: planet
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -100,12 +100,12 @@
|
|||
object_objectname: backend-services.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: resultsdb
|
||||
routename: resultsdb-api
|
||||
host: "resultsdb{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: api
|
||||
servicename: resultsdb-api
|
||||
path: /api
|
||||
route_app: resultsdb
|
||||
route_routename: resultsdb-api
|
||||
route_host: "resultsdb{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: api
|
||||
route_servicename: resultsdb-api
|
||||
route_path: /api
|
||||
|
||||
# frontend objects
|
||||
- role: openshift/object
|
||||
|
@ -129,12 +129,12 @@
|
|||
object_objectname: frontend-services.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: resultsdb
|
||||
routename: resultsdb-web
|
||||
host: "resultsdb{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: resultsdb-frontend
|
||||
path: /
|
||||
route_app: resultsdb
|
||||
route_routename: resultsdb-web
|
||||
route_host: "resultsdb{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: resultsdb-frontend
|
||||
route_path: /
|
||||
|
||||
# rollouts
|
||||
- role: openshift/rollout
|
||||
|
|
|
@ -40,21 +40,21 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
# - role: openshift/route
|
||||
# app: test-auth
|
||||
# routename: test-auth
|
||||
# host: "admin{{ env_suffix }}.fedoraproject.org"
|
||||
# path: "/test-auth"
|
||||
# serviceport: web
|
||||
# servicename: test-auth
|
||||
# annotations:
|
||||
# route_app: test-auth
|
||||
# route_routename: test-auth
|
||||
# route_host: "admin{{ env_suffix }}.fedoraproject.org"
|
||||
# route_path: "/test-auth"
|
||||
# route_serviceport: web
|
||||
# route_servicename: test-auth
|
||||
# route_annotations:
|
||||
# haproxy.router.openshift.io/timeout: 5m
|
||||
- role: openshift/route
|
||||
app: test-auth
|
||||
routename: test-auth
|
||||
host: "test-auth.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: test-auth
|
||||
annotations:
|
||||
route_app: test-auth
|
||||
route_routename: test-auth
|
||||
route_host: "test-auth.apps.ocp{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: test-auth
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 5m
|
||||
|
||||
- role: openshift/object
|
||||
|
|
|
@ -93,11 +93,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: testdays
|
||||
routename: testdays
|
||||
host: "testdays{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: 8080-tcp
|
||||
servicename: testdays
|
||||
route_app: testdays
|
||||
route_routename: testdays
|
||||
route_host: "testdays{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: 8080-tcp
|
||||
route_servicename: testdays
|
||||
|
||||
- role: openshift/start-build
|
||||
app: testdays
|
||||
|
|
|
@ -34,13 +34,12 @@
|
|||
object_file: service.yml
|
||||
object_objectname: service.yml
|
||||
- role: openshift/route
|
||||
app: transtats
|
||||
routename: transtats-web
|
||||
host: transtats{{ env_suffix }}.fedoraproject.org
|
||||
file: route.yml
|
||||
serviceport: web
|
||||
servicename: transtats-web
|
||||
annotations:
|
||||
route_app: transtats
|
||||
route_routename: transtats-web
|
||||
route_host: transtats{{ env_suffix }}.fedoraproject.org
|
||||
route_serviceport: web
|
||||
route_servicename: transtats-web
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/timeout: 8m
|
||||
- role: openshift/object
|
||||
object_app: transtats
|
||||
|
|
|
@ -101,11 +101,11 @@
|
|||
object_objectname: service.yml
|
||||
|
||||
- role: openshift/route
|
||||
app: waiverdb
|
||||
routename: web-pretty
|
||||
host: "waiverdb{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: waiverdb-web
|
||||
route_app: waiverdb
|
||||
route_routename: web-pretty
|
||||
route_host: "waiverdb{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: waiverdb-web
|
||||
|
||||
# TODO -- someday retire this old route in favor of the pretty one above.
|
||||
- role: openshift/object
|
||||
|
|
|
@ -86,17 +86,17 @@
|
|||
|
||||
# Routes
|
||||
- role: openshift/route
|
||||
app: webhook2fedmsg
|
||||
routename: web
|
||||
host: "webhook{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: web
|
||||
route_app: webhook2fedmsg
|
||||
route_routename: web
|
||||
route_host: "webhook{{ env_suffix }}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: web
|
||||
- role: openshift/route
|
||||
app: webhook2fedmsg
|
||||
routename: web-alt
|
||||
host: "webhook2fedmsg.apps.ocp{{env_suffix}}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: web
|
||||
route_app: webhook2fedmsg
|
||||
route_routename: web-alt
|
||||
route_host: "webhook2fedmsg.apps.ocp{{env_suffix}}.fedoraproject.org"
|
||||
route_serviceport: web
|
||||
route_servicename: web
|
||||
|
||||
# FASJSON access
|
||||
- role: openshift/ipa-client
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
object_file: service.yml
|
||||
object_objectname: service.yml
|
||||
- role: openshift/route
|
||||
app: zezere
|
||||
routename: zezere
|
||||
host: "provision{{ env_suffix }}.fedoraproject.org"
|
||||
servicename: zezere
|
||||
serviceport: 8080
|
||||
annotations:
|
||||
route_app: zezere
|
||||
route_routename: zezere
|
||||
route_host: "provision{{ env_suffix }}.fedoraproject.org"
|
||||
route_servicename: zezere
|
||||
route_serviceport: 8080
|
||||
route_annotations:
|
||||
haproxy.router.openshift.io/set-forwarded-headers: append
|
||||
- role: openshift/object
|
||||
object_app: zezere
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: route-{{routename}}.yml
|
||||
- name: route-{{route_routename}}.yml
|
||||
include_role:
|
||||
name: openshift/object
|
||||
vars:
|
||||
object_objectname: route-{{routename}}.yml
|
||||
object_objectname: route-{{route_routename}}.yml
|
||||
object_template_fullpath: "{{roles_path}}/openshift/route/templates/route.yml"
|
||||
|
|
|
@ -2,32 +2,32 @@
|
|||
apiVersion: route.openshift.io/v1
|
||||
kind: Route
|
||||
metadata:
|
||||
{% if annotations is defined %}
|
||||
{% if route_annotations is defined %}
|
||||
annotations:
|
||||
{{ annotations | to_nice_yaml | indent(4) }}
|
||||
{{ route_annotations | to_nice_yaml | indent(4) }}
|
||||
{% endif %}
|
||||
name: {{ routename }}
|
||||
name: {{ route_routename }}
|
||||
labels:
|
||||
app: {{ app }}
|
||||
app: {{ route_app }}
|
||||
spec:
|
||||
{% if host is defined %}
|
||||
host: {{ host }}
|
||||
{% if route_host is defined %}
|
||||
host: {{ route_host }}
|
||||
{% endif %}
|
||||
{% if path is defined %}
|
||||
path: {{ path }}
|
||||
{% if route_path is defined %}
|
||||
path: {{ route_path }}
|
||||
{% endif %}
|
||||
{% if wildcardpolicy is defined %}
|
||||
wildcardPolicy: {{ wildcardpolicy }}
|
||||
{% endif %}
|
||||
port:
|
||||
targetPort: {{ serviceport }}
|
||||
targetPort: {{ route_serviceport }}
|
||||
to:
|
||||
kind: Service
|
||||
name: {{ servicename }}
|
||||
name: {{ route_servicename }}
|
||||
tls:
|
||||
{% if termination_passthrough is defined and termination_passthrough %}
|
||||
{% if route_termination_passthrough is defined and route_termination_passthrough %}
|
||||
termination: Passthrough
|
||||
{% elif termination_reencrypt is defined and termination_reencrypt %}
|
||||
{% elif route_termination_reencrypt is defined and route_termination_reencrypt %}
|
||||
termination: Reencrypt
|
||||
{% else %}
|
||||
termination: edge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue