2021-02-15 18:45:42 +00:00
|
|
|
---
|
|
|
|
|
kind: "Template"
|
2021-12-05 21:26:37 +00:00
|
|
|
apiVersion: template.openshift.io/v1
|
2021-02-15 18:45:42 +00:00
|
|
|
metadata:
|
2022-09-09 13:05:29 +00:00
|
|
|
name: "caimira-route"
|
2021-02-15 18:45:42 +00:00
|
|
|
creationTimestamp: null
|
|
|
|
|
annotations:
|
2022-09-09 13:05:29 +00:00
|
|
|
description: "CAiMIRA route OpenShift template."
|
|
|
|
|
tags: "caimira-route"
|
2021-02-15 18:45:42 +00:00
|
|
|
labels:
|
2022-09-09 13:05:29 +00:00
|
|
|
template: "caimira-route"
|
2021-02-15 18:45:42 +00:00
|
|
|
objects:
|
|
|
|
|
-
|
2021-12-05 21:26:37 +00:00
|
|
|
apiVersion: route.openshift.io/v1
|
2021-02-15 18:45:42 +00:00
|
|
|
kind: Route
|
|
|
|
|
metadata:
|
2022-09-09 13:05:29 +00:00
|
|
|
name: caimira-route
|
2021-07-14 10:16:47 +00:00
|
|
|
labels:
|
2022-09-09 13:05:29 +00:00
|
|
|
app: "caimira-route"
|
2021-02-15 18:45:42 +00:00
|
|
|
spec:
|
|
|
|
|
host: ${HOST}
|
|
|
|
|
port:
|
2021-03-03 18:37:18 +00:00
|
|
|
targetPort: 8080-tcp
|
2021-02-15 18:45:42 +00:00
|
|
|
tls:
|
|
|
|
|
insecureEdgeTerminationPolicy: Redirect
|
|
|
|
|
termination: edge
|
|
|
|
|
to:
|
|
|
|
|
kind: Service
|
2022-09-09 13:05:29 +00:00
|
|
|
name: caimira-router
|
2021-07-14 10:16:47 +00:00
|
|
|
weight: 100
|
|
|
|
|
wildcardPolicy: None
|
2021-02-15 18:45:42 +00:00
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
|
- name: HOST
|
2022-09-09 09:42:16 +00:00
|
|
|
description: The hostname of the site, e.g. caimira-test.web.cern.ch
|
2021-02-15 18:45:42 +00:00
|
|
|
required: true
|
|
|
|
|
|