Add infocenter 2021-12, remove infocenter 2019-12
Change-Id: I147bd430556cb5a0fd181bc8b40fb7daf461f89e
diff --git a/infoCenter/k8s/2019-12/deployment.yml b/infoCenter/k8s/2021-12/deployment.yml
similarity index 83%
rename from infoCenter/k8s/2019-12/deployment.yml
rename to infoCenter/k8s/2021-12/deployment.yml
index c4f4030..b3ee44a 100644
--- a/infoCenter/k8s/2019-12/deployment.yml
+++ b/infoCenter/k8s/2021-12/deployment.yml
@@ -10,20 +10,20 @@
kind: Deployment
metadata:
labels:
- infocenter.version: "2019-12"
+ infocenter.version: "2021-12"
namespace: "infocenter"
- name: "infocenter-2019-12"
+ name: "infocenter-2021-12"
spec:
replicas: 1
selector:
matchLabels:
- infocenter.version: "2019-12"
- serviceName: "infocenter-2019-12"
+ infocenter.version: "2021-12"
+ serviceName: "infocenter-2021-12"
template:
metadata:
- name: "infocenter-2019-12"
+ name: "infocenter-2021-12"
labels:
- infocenter.version: "2019-12"
+ infocenter.version: "2021-12"
spec:
affinity:
nodeAffinity:
@@ -37,8 +37,8 @@
- fast
terminationGracePeriodSeconds: 180
containers:
- - name: infocenter-2019-12
- image: eclipsecbi/eclipse-infocenter:2019-12@sha256:d0d5a085fe62a91e5ed3d5e3100a02a518c5d60114daf49a08c3aab840a4f78b
+ - name: infocenter-2021-12
+ image: eclipsecbi/eclipse-infocenter:2021-12@sha256:034ca20f3f1a48f0f64ff33d38d1685306823f176f7cbf72458f242f2ee51f42
imagePullPolicy: IfNotPresent
command:
- /infocenter/startDockerInfoCenter.sh
diff --git a/infoCenter/k8s/2019-12/route.yml b/infoCenter/k8s/2021-12/route.yml
similarity index 88%
rename from infoCenter/k8s/2019-12/route.yml
rename to infoCenter/k8s/2021-12/route.yml
index 42b41e7..3de6615 100644
--- a/infoCenter/k8s/2019-12/route.yml
+++ b/infoCenter/k8s/2021-12/route.yml
@@ -10,15 +10,15 @@
kind: "Route"
metadata:
labels:
- infocenter.version: "2019-12"
+ infocenter.version: "2021-12"
namespace: "infocenter"
annotations:
haproxy.router.openshift.io/timeout: 60s
haproxy.router.openshift.io/rewrite-target: /help
- name: "infocenter-2019-12"
+ name: "infocenter-2021-12"
spec:
host: "help.eclipse.org"
- path: "/2019-12"
+ path: "/2021-12"
port:
targetPort: "http"
tls:
@@ -26,5 +26,5 @@
termination: "edge"
to:
kind: "Service"
- name: "infocenter-2019-12"
+ name: "infocenter-2021-12"
weight: 100
diff --git a/infoCenter/k8s/2019-12/service.yml b/infoCenter/k8s/2021-12/service.yml
similarity index 87%
rename from infoCenter/k8s/2019-12/service.yml
rename to infoCenter/k8s/2021-12/service.yml
index c0d7064..76136ca 100644
--- a/infoCenter/k8s/2019-12/service.yml
+++ b/infoCenter/k8s/2021-12/service.yml
@@ -10,9 +10,9 @@
kind: "Service"
metadata:
labels:
- infocenter.version: "2019-12"
+ infocenter.version: "2021-12"
namespace: "infocenter"
- name: "infocenter-2019-12"
+ name: "infocenter-2021-12"
spec:
ports:
- name: "http"
@@ -20,4 +20,4 @@
protocol: "TCP"
targetPort: 8086
selector:
- infocenter.version: "2019-12"
+ infocenter.version: "2021-12"