Add infocenter 2022-03, remove oldest infocenter
Change-Id: I8f67d0dee1b023dfd914f25d4f44f28610e7cbbe
Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
diff --git a/infoCenter/k8s/2020-03/deployment.yml b/infoCenter/k8s/2022-03/deployment.yml
similarity index 84%
rename from infoCenter/k8s/2020-03/deployment.yml
rename to infoCenter/k8s/2022-03/deployment.yml
index 3e4e4a0..d0b18c2 100644
--- a/infoCenter/k8s/2020-03/deployment.yml
+++ b/infoCenter/k8s/2022-03/deployment.yml
@@ -10,20 +10,20 @@
kind: Deployment
metadata:
labels:
- infocenter.version: "2020-03"
+ infocenter.version: "2022-03"
namespace: "infocenter"
- name: "infocenter-2020-03"
+ name: "infocenter-2022-03"
spec:
replicas: 1
selector:
matchLabels:
- infocenter.version: "2020-03"
- serviceName: "infocenter-2020-03"
+ infocenter.version: "2022-03"
+ serviceName: "infocenter-2022-03"
template:
metadata:
- name: "infocenter-2020-03"
+ name: "infocenter-2022-03"
labels:
- infocenter.version: "2020-03"
+ infocenter.version: "2022-03"
spec:
affinity:
nodeAffinity:
@@ -37,8 +37,8 @@
- fast
terminationGracePeriodSeconds: 180
containers:
- - name: infocenter-2020-03
- image: eclipsecbi/eclipse-infocenter:2020-03@sha256:7931edcc9d1b3f84e4934bc53a68270a6e6db466982ba16f1d239fc295f31aa4
+ - name: infocenter-2022-03
+ image: eclipsecbi/eclipse-infocenter:2022-03@sha256:39701b40e30ee850c4299a4334fdc6aaac801deff2e2806ee755d1f6d472ab1e
imagePullPolicy: IfNotPresent
command:
- /infocenter/startDockerInfoCenter.sh
diff --git a/infoCenter/k8s/2020-03/route.yml b/infoCenter/k8s/2022-03/route.yml
similarity index 88%
rename from infoCenter/k8s/2020-03/route.yml
rename to infoCenter/k8s/2022-03/route.yml
index c4f9866..05351a0 100644
--- a/infoCenter/k8s/2020-03/route.yml
+++ b/infoCenter/k8s/2022-03/route.yml
@@ -10,15 +10,15 @@
kind: "Route"
metadata:
labels:
- infocenter.version: "2020-03"
+ infocenter.version: "2022-03"
namespace: "infocenter"
annotations:
haproxy.router.openshift.io/timeout: 60s
haproxy.router.openshift.io/rewrite-target: /help
- name: "infocenter-2020-03"
+ name: "infocenter-2022-03"
spec:
host: "help.eclipse.org"
- path: "/2020-03"
+ path: "/2022-03"
port:
targetPort: "http"
tls:
@@ -26,5 +26,5 @@
termination: "edge"
to:
kind: "Service"
- name: "infocenter-2020-03"
+ name: "infocenter-2022-03"
weight: 100
diff --git a/infoCenter/k8s/2020-03/service.yml b/infoCenter/k8s/2022-03/service.yml
similarity index 87%
rename from infoCenter/k8s/2020-03/service.yml
rename to infoCenter/k8s/2022-03/service.yml
index 5a0a52a..d32bce0 100644
--- a/infoCenter/k8s/2020-03/service.yml
+++ b/infoCenter/k8s/2022-03/service.yml
@@ -10,9 +10,9 @@
kind: "Service"
metadata:
labels:
- infocenter.version: "2020-03"
+ infocenter.version: "2022-03"
namespace: "infocenter"
- name: "infocenter-2020-03"
+ name: "infocenter-2022-03"
spec:
ports:
- name: "http"
@@ -20,4 +20,4 @@
protocol: "TCP"
targetPort: 8086
selector:
- infocenter.version: "2020-03"
+ infocenter.version: "2022-03"