Skip to content

Commit

Permalink
Merge pull request #228 from bcgov/yj
Browse files Browse the repository at this point in the history
chore: remove bcgov routes
  • Loading branch information
ychung-mot authored Apr 25, 2024
2 parents 1f0f90c + 51605df commit 474572a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 43 deletions.
39 changes: 0 additions & 39 deletions helm/main/templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion helm/main/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion helm/main/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion helm/main/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion helm/main/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 474572a

Please sign in to comment.