From eeede5e42c5a4ab8cd314507d8e0d25c04070323 Mon Sep 17 00:00:00 2001 From: Teddy Kossoko <teddy.kossoko@capgemini.com> Date: Thu, 25 Mar 2021 11:18:15 +0000 Subject: [PATCH] Update meta.yaml --- v3/plugins/esa/maap-jupyter/latest/meta.yaml | 54 ++++++++++---------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/v3/plugins/esa/maap-jupyter/latest/meta.yaml b/v3/plugins/esa/maap-jupyter/latest/meta.yaml index 3fa64ac..b31b750 100644 --- a/v3/plugins/esa/maap-jupyter/latest/meta.yaml +++ b/v3/plugins/esa/maap-jupyter/latest/meta.yaml @@ -1,3 +1,4 @@ +apiVersion: v2 publisher: esa name: jupyter version: latest @@ -10,21 +11,16 @@ category: Editor repository: https://biomass.pl.s2-eu.capgemini.com/gitlab/bmap/che7-stacks/maap-jupyter firstPublicationDate: "2019-02-05" spec: -metadata: - name: jupyter- -attributes: - editorFree: 'true' -components: - - endpoints: - - name: jupyter - port: 3100 - attributes: + endpoints: + - name: "jupyter" + port: 3100 + attributes: type: ide discoverable: 'false' path: / public: 'true' protocol: http - referenceContent: | + referenceContent: | kind: List items: - apiVersion: v1 @@ -33,19 +29,25 @@ components: name: ws labels: name: ws - spec: - containers: - - name: jupyter - image: 'kosted/maap-esa-jupyterlab:0.0.1' - imagePullPolicy: Always - resources: - limits: - memory: 2048Mi - securityContext: - privileged: true - type: kubernetes - alias: maap-jupyterlab - env: - - value: WS_JUPYTER - name: MACHINE_NAME -apiVersion: v2 + type: kubernetes + alias: maap-jupyterlab + containers: + - name: jupyter + image: "kosted/maap-esa-jupyterlab:0.0.2" + imagePullPolicy: IfNotPresent + resources: + limits: + memory: 2048Mi + securityContext: + privileged: true + env: + - name: JUPYTER_NOTEBOOK_DIR + value: /projects + - name: CLIENT_ID + value: "97262f0b-d3ca-4492-bcf8-9a0e12bdede8" + - name: MAAP_ENV_TYPE + value: "VAL" + mountSources: true + ports: + - exposedPort: 8888 + memoryLimit: "512M" -- GitLab