ansible/roles/openshift-apps/openscanhub/files/openscanhub-route-fedora-osh-hub.yml
Siteshwar Vashisht c5ac88d235 openscanhub: add configurations for hub
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-02-14 12:46:11 +00:00

25 lines
668 B
YAML

apiVersion: route.openshift.io/v1
kind: Route
metadata:
labels:
app: fedora-osh-hub
app.kubernetes.io/component: fedora-osh-hub
app.kubernetes.io/instance: fedora-osh-hub
app.kubernetes.io/name: fedora-osh-hub
app.kubernetes.io/part-of: openscanhub
# TODO: This should be a template and use production for production instance.
name: staging
namespace: openscanhub
resourceVersion: "2899601169"
uid: 1c280b7f-39a4-40fc-a850-396147e1c1af
spec:
port:
targetPort: 8080-tcp
tls:
insecureEdgeTerminationPolicy: Redirect
termination: edge
to:
kind: Service
name: fedora-osh-hub
weight: 100
wildcardPolicy: None