Update 2020-03 infocenter (-> past release), removed Photon infocenter
Change-Id: I6f947d51afa90cc4e4989127ec3ebbfe7a7780a4
Signed-off-by: Frederic Gurr <frederic.gurr@eclipse-foundation.org>
diff --git a/infoCenter/k8s/2020-03/statefulset.yml b/infoCenter/k8s/2020-03/statefulset.yml
index 071035b..4c900d4 100644
--- a/infoCenter/k8s/2020-03/statefulset.yml
+++ b/infoCenter/k8s/2020-03/statefulset.yml
@@ -38,7 +38,7 @@
terminationGracePeriodSeconds: 1200
containers:
- name: infocenter-2020-03
- image: eclipsecbi/eclipse-infocenter:2020-03@sha256:356ca699b873667cc14604dc618e5c6be571e40fe5a432acbe96b470ffa61259
+ image: eclipsecbi/eclipse-infocenter:2020-03@sha256:7931edcc9d1b3f84e4934bc53a68270a6e6db466982ba16f1d239fc295f31aa4
imagePullPolicy: IfNotPresent
command:
- /infocenter/startDockerInfoCenter.sh
diff --git a/infoCenter/k8s/photon/nginx-configmap.yml b/infoCenter/k8s/photon/nginx-configmap.yml
deleted file mode 100644
index 5ec8edb..0000000
--- a/infoCenter/k8s/photon/nginx-configmap.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2019 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: v1
-kind: ConfigMap
-metadata:
- labels:
- infocenter.version: "photon"
- namespace: "infocenter"
- name: nginx-config-photon
-data:
- nginx.conf: |-
- worker_processes 1;
- error_log /var/log/nginx/error.log warn;
- pid /var/run/nginx.pid;
- events {
- worker_connections 1024;
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- sendfile on;
- keepalive_timeout 65;
- server {
- listen 8080;
- location /photon/ {
- proxy_pass http://127.0.0.1:8086/help/;
- }
- }
- }
diff --git a/infoCenter/k8s/photon/route.yml b/infoCenter/k8s/photon/route.yml
deleted file mode 100644
index fd185c5..0000000
--- a/infoCenter/k8s/photon/route.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2019 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: "photon"
- namespace: "infocenter"
- annotations:
- haproxy.router.openshift.io/timeout: 60s
- name: "infocenter-photon"
-spec:
- host: "help.eclipse.org"
- path: "/photon"
- port:
- targetPort: "http"
- tls:
- insecureEdgeTerminationPolicy: "Redirect"
- termination: "edge"
- to:
- kind: "Service"
- name: "infocenter-photon"
- weight: 100
diff --git a/infoCenter/k8s/photon/service.yml b/infoCenter/k8s/photon/service.yml
deleted file mode 100644
index f2319b5..0000000
--- a/infoCenter/k8s/photon/service.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2019 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: "v1"
-kind: "Service"
-metadata:
- labels:
- infocenter.version: "photon"
- namespace: "infocenter"
- name: "infocenter-photon"
-spec:
- ports:
- - name: "http"
- port: 80
- protocol: "TCP"
- targetPort: 8080
- selector:
- infocenter.version: "photon"
diff --git a/infoCenter/k8s/photon/statefulset.yml b/infoCenter/k8s/photon/statefulset.yml
deleted file mode 100644
index e3cbf17..0000000
--- a/infoCenter/k8s/photon/statefulset.yml
+++ /dev/null
@@ -1,86 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2019 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: apps/v1
-kind: StatefulSet
-metadata:
- labels:
- infocenter.version: "photon"
- namespace: "infocenter"
- name: "infocenter-photon"
-spec:
- replicas: 1
- selector:
- matchLabels:
- infocenter.version: "photon"
- serviceName: "infocenter-photon"
- template:
- metadata:
- labels:
- infocenter.version: "photon"
- name: "infocenter-photon"
- spec:
- affinity:
- nodeAffinity:
- preferredDuringSchedulingIgnoredDuringExecution:
- - weight: 1
- preference:
- matchExpressions:
- - key: speed
- operator: NotIn
- values:
- - fast
- terminationGracePeriodSeconds: 1200
- containers:
- - name: infocenter-photon
- image: eclipsecbi/eclipse-infocenter:photon@sha256:828161f48e9b63149720814eada2cddd5e1ba3ed4394175b0bdfc5a6f33b4d9d
- imagePullPolicy: IfNotPresent
- command:
- - /infocenter/startDockerInfoCenter.sh
- livenessProbe:
- httpGet:
- path: /help/index.jsp
- port: 8086
- scheme: HTTP
- initialDelaySeconds: 480
- periodSeconds: 60
- failureThreshold: 2
- timeoutSeconds: 90
- readinessProbe:
- httpGet:
- path: /help/index.jsp
- port: 8086
- periodSeconds: 60
- timeoutSeconds: 90
- initialDelaySeconds: 60
- ports:
- - containerPort: 8086
- protocol: TCP
- resources:
- requests:
- cpu: 500m
- limits:
- cpu: 2
- memory: 1.5Gi
- volumeMounts:
- - name: workspace
- mountPath: "/infocenter/workspace"
- - name: nginx
- image: eclipsefdn/nginx:stable-alpine
- ports:
- - containerPort: 8080
- volumeMounts:
- - name: nginx-config
- mountPath: /etc/nginx/nginx.conf
- subPath: nginx.conf
- volumes:
- - name: workspace
- emptyDir: {}
- - name: nginx-config
- configMap:
- name: nginx-config-photon