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