37 lines
851 B
YAML
37 lines
851 B
YAML
---
|
|
kind: "Template"
|
|
apiVersion: template.openshift.io/v1
|
|
metadata:
|
|
name: "caimira-route"
|
|
creationTimestamp: null
|
|
annotations:
|
|
description: "CAiMIRA route OpenShift template."
|
|
tags: "caimira-route"
|
|
labels:
|
|
template: "caimira-route"
|
|
objects:
|
|
-
|
|
apiVersion: route.openshift.io/v1
|
|
kind: Route
|
|
metadata:
|
|
name: caimira-route
|
|
labels:
|
|
app: "caimira-route"
|
|
spec:
|
|
host: ${HOST}
|
|
port:
|
|
targetPort: 8080-tcp
|
|
tls:
|
|
insecureEdgeTerminationPolicy: Redirect
|
|
termination: edge
|
|
to:
|
|
kind: Service
|
|
name: caimira-router
|
|
weight: 100
|
|
wildcardPolicy: None
|
|
|
|
parameters:
|
|
- name: HOST
|
|
description: The hostname of the site, e.g. caimira-test.web.cern.ch
|
|
required: true
|
|
|