cara/app-config/openshift/routes.example.yaml

38 lines
827 B
YAML
Raw Normal View History

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:
name: "cara-route"
creationTimestamp: null
annotations:
description: "CARA route OpenShift template."
tags: "cara-route"
labels:
template: "cara-route"
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:
name: cara-route
labels:
app: "cara-route"
2021-02-15 18:45:42 +00:00
spec:
host: ${HOST}
port:
targetPort: 8080-tcp
2021-02-15 18:45:42 +00:00
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: cara-router
weight: 100
wildcardPolicy: None
2021-02-15 18:45:42 +00:00
parameters:
- name: HOST
description: The hostname of the site, e.g. test-cara.web.cern.ch
required: true