Bug 575227 - help.eclipse.org (basically) not indexed by search engines
Change-Id: Ic3fbd698c950a8ca3b49cc81bee39d8dddb19f86
Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
diff --git a/infoCenter/k8s/route_latest.yml b/infoCenter/k8s/route_latest.yml
new file mode 100644
index 0000000..d5537dc
--- /dev/null
+++ b/infoCenter/k8s/route_latest.yml
@@ -0,0 +1,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: "latest"
+ namespace: "infocenter"
+ annotations:
+ haproxy.router.openshift.io/timeout: 60s
+ haproxy.router.openshift.io/rewrite-target: /help
+ name: "infocenter-latest"
+spec:
+ host: "help.eclipse.org"
+ path: "/latest"
+ port:
+ targetPort: "http"
+ tls:
+ insecureEdgeTerminationPolicy: "Redirect"
+ termination: "edge"
+ to:
+ kind: "Service"
+ name: "infocenter-2021-06"
+ weight: 100