From 51605df26d8043f7b72d24b7bd100a01f2e07c93 Mon Sep 17 00:00:00 2001 From: ychung-mot Date: Thu, 25 Apr 2024 09:07:25 -0700 Subject: [PATCH] chore: remove bcgov routes --- helm/main/templates/route.yaml | 39 ---------------------------------- helm/main/values-dev.yaml | 1 - helm/main/values-prod.yaml | 1 - helm/main/values-test.yaml | 1 - helm/main/values-uat.yaml | 1 - 5 files changed, 43 deletions(-) diff --git a/helm/main/templates/route.yaml b/helm/main/templates/route.yaml index 9a604b0f..2f362776 100644 --- a/helm/main/templates/route.yaml +++ b/helm/main/templates/route.yaml @@ -33,45 +33,6 @@ spec: insecureEdgeTerminationPolicy: Redirect termination: edge path: "/api" - to: - kind: Service - name: {{ .Values.route.baseService }}-backend ---- -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - name: {{ include "app.fullname" . }}-frontend-bcgov - annotations: - haproxy.router.openshift.io/balance: roundrobin - haproxy.router.openshift.io/disable_cookies: 'true' - haproxy.router.openshift.io/timeout: 180s -spec: - {{- if .Values.route.bcgovHost }} - host: {{ .Values.route.bcgovHost }} - {{- end }} - tls: - insecureEdgeTerminationPolicy: Redirect - termination: edge - to: - kind: Service - name: {{ .Values.route.baseService }}-frontend ---- -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - name: {{ include "app.fullname" . }}-backend-bcgov - annotations: - haproxy.router.openshift.io/balance: roundrobin - haproxy.router.openshift.io/disable_cookies: 'true' - haproxy.router.openshift.io/timeout: 180s -spec: - {{- if .Values.route.bcgovHost }} - host: {{ .Values.route.bcgovHost }} - {{- end }} - tls: - insecureEdgeTerminationPolicy: Redirect - termination: edge - path: "/api" to: kind: Service name: {{ .Values.route.baseService }}-backend \ No newline at end of file diff --git a/helm/main/values-dev.yaml b/helm/main/values-dev.yaml index cca163c9..249228b0 100644 --- a/helm/main/values-dev.yaml +++ b/helm/main/values-dev.yaml @@ -22,7 +22,6 @@ fullnameOverride: strdss-dev route: host: dev-strdata.apps.silver.devops.gov.bc.ca - bcgovHost: dev.strdata.gov.bc.ca baseService: strdss-dev frontend: diff --git a/helm/main/values-prod.yaml b/helm/main/values-prod.yaml index 3a13e35e..df4236a3 100644 --- a/helm/main/values-prod.yaml +++ b/helm/main/values-prod.yaml @@ -23,7 +23,6 @@ fullnameOverride: strdss-prod route: host: prod-strdata.apps.silver.devops.gov.bc.ca - bcgovHost: strdata.gov.bc.ca baseService: strdss-prod frontend: diff --git a/helm/main/values-test.yaml b/helm/main/values-test.yaml index 43fe7cc3..094fe41b 100644 --- a/helm/main/values-test.yaml +++ b/helm/main/values-test.yaml @@ -23,7 +23,6 @@ fullnameOverride: strdss-test route: host: test-strdata.apps.silver.devops.gov.bc.ca - bcgovHost: test.strdata.gov.bc.ca baseService: strdss-test frontend: diff --git a/helm/main/values-uat.yaml b/helm/main/values-uat.yaml index 1ae4d40e..7518e338 100644 --- a/helm/main/values-uat.yaml +++ b/helm/main/values-uat.yaml @@ -23,7 +23,6 @@ fullnameOverride: strdss-uat route: host: uat-strdata.apps.silver.devops.gov.bc.ca - bcgovHost: uat.strdata.gov.bc.ca baseService: strdss-uat frontend: