Skip to content

Commit

Permalink
add APP OpenShift route
Browse files Browse the repository at this point in the history
  • Loading branch information
haofrank committed Dec 12, 2023
1 parent 76be555 commit 6bc3dbd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .tekton/events/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,24 @@ spec:
tls: {}
port:
targetPort: http-listener


---

kind: Route
apiVersion: route.openshift.io/v1
metadata:
name: products
labels: {}
spec:
to:
kind: Service
name: products
tls:
termination: edge
insecureEdgeTerminationPolicy: ''
destinationCACertificate: ''
path: /
port:
targetPort: http

2 changes: 1 addition & 1 deletion .tekton/tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- name: SECRET_NAME
description: The name of the secret containing a database_uri key
type: string
default: "postgres-creds"
default: "postgres-secret"
- name: SECRET_KEY
description: The name of the key that contains the database uri
type: string
Expand Down

0 comments on commit 6bc3dbd

Please sign in to comment.