Skip to content

Commit

Permalink
removed non secure routes
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunlumbcgov committed Nov 24, 2023
1 parent 95e00a9 commit 0aec56a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 42 deletions.
22 changes: 0 additions & 22 deletions tools/openshift/backend.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,28 +130,6 @@ objects:
name: "${APP_NAME}-backend-${BRANCH}"
weight: 100
wildcardPolicy: None
- apiVersion: v1
kind: Route
metadata:
annotations:
haproxy.router.openshift.io/timeout: 120s
openshift.io/host.generated: "true"
labels:
app: "${APP_NAME}-${BRANCH}"
name: "${APP_NAME}-backend-${BRANCH}-download"
spec:
host: "${HOST_ROUTE}"
path: /download
port:
targetPort: 8080-tcp
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: "${APP_NAME}-backend-${BRANCH}"
weight: 100
wildcardPolicy: None
- apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
Expand Down
20 changes: 0 additions & 20 deletions tools/openshift/frontend-static.dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,26 +100,6 @@ objects:
selector:
app: "${APP_NAME}-${BRANCH}"
deploymentconfig: "${APP_NAME}-frontend-${BRANCH}"
- apiVersion: v1
kind: Route
metadata:
annotations:
openshift.io/host.generated: "true"
labels:
app: "${APP_NAME}-${BRANCH}"
name: "${APP_NAME}-frontend-${BRANCH}"
spec:
host: "${HOST_ROUTE}"
port:
targetPort: 2015-tcp
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: "${APP_NAME}-frontend-${BRANCH}"
weight: 100
wildcardPolicy: None
- apiVersion: v1
kind: Route
metadata:
Expand Down

0 comments on commit 0aec56a

Please sign in to comment.