Skip to content
Snippets Groups Projects
Commit 976a445c authored by jstranig's avatar jstranig
Browse files

BIOMASS-2309 Sar training stack : Enable a startup script to use maap-configmap and s3-credential

parent 60499ed0
No related branches found
No related tags found
No related merge requests found
Pipeline #1247 passed with stage
in 1 minute and 22 seconds
...@@ -24,8 +24,11 @@ components: ...@@ -24,8 +24,11 @@ components:
spec: spec:
containers: containers:
- name: jupyter - name: jupyter
image: 'registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap/saar-training-jupyterlab:0.0.5' image: 'registry.eu-west-0.prod-cloud-ocb.orange-business.com/cloud-biomass-maap/saar-training-jupyterlab:0.0.6'
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: maap-configmap
mountSources: true mountSources: true
resources: resources:
requests: requests:
...@@ -34,8 +37,16 @@ components: ...@@ -34,8 +37,16 @@ components:
memory: 5000Mi memory: 5000Mi
securityContext: securityContext:
privileged: true privileged: true
volumeMounts:
- name: s3fs
mountPath: "/etc/s3fs"
readOnly: true
imagePullSecrets: imagePullSecrets:
- name: secret-docker-bimaap - name: secret-docker-bimaap
volumes:
- name: s3fs
secret:
secretName: s3-credential
type: kubernetes type: kubernetes
volumes: volumes:
- name: projects - name: projects
...@@ -45,10 +56,6 @@ components: ...@@ -45,10 +56,6 @@ components:
- value: WS_JUPYTER - value: WS_JUPYTER
name: MACHINE_NAME name: MACHINE_NAME
- value: /projects - value: /projects
name: JUPYTER_NOTEBOOK_DIR name: JUPYTER_NOTEBOOK_DIR
- value: "97262f0b-d3ca-4492-bcf8-9a0e12bdede8"
name: CLIENT_ID
- value: "VAL"
name: MAAP_ENV_TYPE
apiVersion: 1.0.0 apiVersion: 1.0.0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment