diff --git a/devfiles/polinsar-jupyter/devfile.yaml b/devfiles/polinsar-jupyter/devfile.yaml index 0666adc9990f3053678958e487ef68e93e71ab59..51012390103c6cba970480e1446b91c567b589e9 100644 --- a/devfiles/polinsar-jupyter/devfile.yaml +++ b/devfiles/polinsar-jupyter/devfile.yaml @@ -1,51 +1,58 @@ -metadata: - generateName: sar-intro- -attributes: - editorFree: 'true' -components: - - endpoints: - - name: jupyter - port: 3100 - attributes: - type: ide - discoverable: 'false' - path: / - public: 'true' - protocol: http - referenceContent: | - kind: List - items: - - apiVersion: v1 - kind: Pod - metadata: - name: ws - labels: - name: ws - spec: - containers: - - name: jupyter - image: 'imansour/maap-sar-intro:latest' - imagePullPolicy: IfNotPresent - mountSources: true - resources: - requests: - memory: 5000Mi - limits: - memory: 5000Mi - securityContext: - privileged: true - type: kubernetes - volumes: - - name: projects - containerPath: /projects - alias: maap-jupyterlab - env: - - value: WS_JUPYTER - name: MACHINE_NAME - - value: /projects - name: JUPYTER_NOTEBOOK_DIR - - value: 97262f0b-d3ca-4492-bcf8-9a0e12bdede8 - name: CLIENT_ID - - value: VAL - name: MAAP_ENV_TYPE -apiVersion: 1.0.0 +metadata: + generateName: polinsar- +attributes: + editorFree: 'true' +components: + - endpoints: + - name: jupyter + port: 3100 + attributes: + type: ide + discoverable: 'false' + path: / + public: 'true' + protocol: http + referenceContent: | + kind: List + items: + - apiVersion: v1 + kind: Pod + metadata: + name: ws + labels: + name: ws + spec: + containers: + - name: jupyter + image: 'imansour/maap-sar-intro:latest' + imagePullPolicy: IfNotPresent + envFrom: + - configMapRef: + name: maap-configmap + mountSources: true + resources: + limits: + memory: 10240Mi + securityContext: + privileged: true + volumeMounts: + - name: s3fs + mountPath: "/etc/s3fs" + readOnly: true + imagePullSecrets: + - name: secret-docker-bimaap + volumes: + - name: s3fs + secret: + secretName: s3-credential + type: kubernetes + volumes: + - name: projects + containerPath: /projects + alias: maap-jupyterlab + env: + - value: WS_JUPYTER + name: MACHINE_NAME + - value: /projects + name: JUPYTER_NOTEBOOK_DIR +apiVersion: 1.0.0