diff --git a/v3/plugins/esa/maap-jupyter/latest/meta.yaml b/v3/plugins/esa/maap-jupyter/latest/meta.yaml index 3fa64ac46fad840beda963d615bc40308f1e986b..b31b7509805c3dae699eb7e63e3f1ef37d37674d 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"