From a7cf1d1dc1d927bb55fe7e3ebe1ca8d8268e6280 Mon Sep 17 00:00:00 2001 From: NicoLaval Date: Tue, 11 May 2021 20:09:13 +0200 Subject: [PATCH 1/2] Update Kub config --- .kubernetes/deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kubernetes/deployment.yml b/.kubernetes/deployment.yml index c76d99e..7de072c 100644 --- a/.kubernetes/deployment.yml +++ b/.kubernetes/deployment.yml @@ -17,6 +17,6 @@ spec: image: unece/classification-explorer:latest env: - name: ENDPOINT - value: 'http://graphdb.linked-open-statistics.org/repositories/classifications' + value: 'https://graphdb.linked-open-statistics.org/repositories/classifications' - name: DEPLOY_MESSAGE value: 'App deployed into Insee Lab cluster' From 955b42c7d7228f9e3181b2099f678565422a45dc Mon Sep 17 00:00:00 2001 From: NicoLaval Date: Mon, 22 Aug 2022 10:51:58 +0200 Subject: [PATCH 2/2] Update Kubernetes objects --- .kubernetes/deployment.yml | 2 +- .kubernetes/ingress.yml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.kubernetes/deployment.yml b/.kubernetes/deployment.yml index e5e3c88..85cf90f 100644 --- a/.kubernetes/deployment.yml +++ b/.kubernetes/deployment.yml @@ -17,6 +17,6 @@ spec: image: unece/classification-explorer:latest env: - name: ENDPOINT - value: 'http://graphdb.linked-open-statistics.org/repositories/classifications' + value: 'https://graphdb.linked-open-statistics.org/repositories/classifications' - name: DEPLOY_MESSAGE value: 'Powered by Insee Lab' diff --git a/.kubernetes/ingress.yml b/.kubernetes/ingress.yml index 72e5662..2bc8a8f 100644 --- a/.kubernetes/ingress.yml +++ b/.kubernetes/ingress.yml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: classification-explorer @@ -13,6 +13,9 @@ spec: http: paths: - path: / + pathType: Prefix backend: - serviceName: classification-explorer - servicePort: http + service: + name: classification-explorer + port: + number: 80