FASJSON: fixup install

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-09-01 15:36:36 +02:00
parent 44734cabb1
commit 8334489a75
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
3 changed files with 21 additions and 22 deletions

View file

@ -160,6 +160,13 @@
targettype: openshift
keephost: true
- role: httpd/reverseproxy
website: "fasjson{{ env_suffix }}.fedoraproject.org"
destname: fasjson
balancer_name: app-os
targettype: openshift
keephost: true
- role: httpd/reverseproxy
website: "id{{ env_suffix }}.fedoraproject.org"
destname: id

View file

@ -87,10 +87,14 @@
file: service.yml
objectname: service.yml
- role: openshift/object
- role: openshift/route
app: fasjson
template: route.yml
objectname: route.yml
routename: fasjson
host: "fasjson{{ env_suffix }}.fedoraproject.org"
serviceport: web
servicename: fasjson-web
annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/object
app: fasjson
@ -102,6 +106,10 @@
template: deploymentconfig.yml
objectname: deploymentconfig.yml
- role: openshift/start-build
app: fasjson
buildname: fasjson
# - role: openshift/start-build
# app: fasjson
# buildname: fasjson
# - role: openshift/rollout
# app: noggin
# dcname: noggin

View file

@ -1,16 +0,0 @@
apiVersion: v1
kind: Route
metadata:
name: fasjson-web
labels:
app: fasjson
spec:
host: fasjson{{ env_suffix }}.fedoraproject.org
port:
targetPort: web
to:
kind: Service
name: fasjson-web
tls:
termination: edge
insecureEdgeTerminationPolicy: Redirect