From 57fa0857e7c1f2c3fbc99135a459c1ab11a93bce Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 5 Feb 2019 19:18:31 +0000 Subject: [PATCH] Fix route for transtats --- playbooks/openshift-apps/transtats.yml | 1 + roles/openshift-apps/transtats/files/route.yml | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 roles/openshift-apps/transtats/files/route.yml diff --git a/playbooks/openshift-apps/transtats.yml b/playbooks/openshift-apps/transtats.yml index 68f043950c..77c164f807 100644 --- a/playbooks/openshift-apps/transtats.yml +++ b/playbooks/openshift-apps/transtats.yml @@ -35,6 +35,7 @@ - role: openshift/route app: transtats routename: transtats-web + host: transtats{{ env_suffix }}.fedoraproject.org file: route.yml serviceport: web servicename: transtats-web diff --git a/roles/openshift-apps/transtats/files/route.yml b/roles/openshift-apps/transtats/files/route.yml deleted file mode 100644 index 83bbdade94..0000000000 --- a/roles/openshift-apps/transtats/files/route.yml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: Route -metadata: - annotations: - haproxy.router.openshift.io/timeout: 7m - name: transtats-web - labels: - app: transtats -spec: - #host: transtats.stg.fedoraproject.org - port: - targetPort: web - to: - kind: Service - name: transtats-web - tls: - termination: edge - insecureEdgeTerminationPolicy: Redirect