blob: b5529cb5e0c4c600ada1bc6207229bb359182405 [file] [log] [blame]
#*******************************************************************************
# 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: "2021-03"
namespace: "infocenter"
annotations:
haproxy.router.openshift.io/timeout: 60s
haproxy.router.openshift.io/rewrite-target: /help
name: "infocenter-2021-03"
spec:
host: "help.eclipse.org"
path: "/2021-03"
port:
targetPort: "http"
tls:
insecureEdgeTerminationPolicy: "Redirect"
termination: "edge"
to:
kind: "Service"
name: "infocenter-2021-03"
weight: 100