-
Notifications
You must be signed in to change notification settings - Fork 4
/
route.yml
30 lines (30 loc) · 1 KB
/
route.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#*******************************************************************************
# Copyright (c) 2021 Eclipse Foundation and others.
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License 2.0
# which is available at http://www.eclipse.org/legal/epl-v20.html,
# or the MIT License which is available at https://opensource.org/licenses/MIT.
# SPDX-License-Identifier: EPL-2.0 OR MIT
#*******************************************************************************
apiVersion: "route.openshift.io/v1"
kind: "Route"
metadata:
labels:
infocenter.version: "2022-06"
namespace: "infocenter"
annotations:
haproxy.router.openshift.io/timeout: 60s
haproxy.router.openshift.io/rewrite-target: /help
name: "infocenter-2022-06"
spec:
host: "help.eclipse.org"
path: "/2022-06"
port:
targetPort: "http"
tls:
insecureEdgeTerminationPolicy: "Redirect"
termination: "edge"
to:
kind: "Service"
name: "infocenter-2022-06"
weight: 100