Skip to content

Commit

Permalink
chore(jupyter-api): update sha (#273)
Browse files Browse the repository at this point in the history
* chore(jupyter-api): udpate sha

StatCan/jupyter-apis@76e7415
  • Loading branch information
Jose-Matsuda authored Nov 3, 2022
1 parent 453339c commit a32f0f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 29 deletions.
38 changes: 11 additions & 27 deletions kustomize/apps/jupyter-web-app/base/configs/spawner_ui_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,34 +79,18 @@ spawnerFormDefaults:
readOnly: false
workspaceVolume:
# Workspace Volume to be attached to user's Notebook
# Each Workspace Volume is declared with the following attributes:
# Type, Name, Size, MountPath and Access Mode
# This must be updated in dev and prod to reflect new config.go
value:
type:
# The Type of the Workspace Volume
# Supported values: 'New', 'Existing'
value: New
name:
# The Name of the Workspace Volume
# Note that this is a templated value. Special values:
# {notebook-name}: Replaced with the name of the Notebook. The frontend
# will replace this value as the user types the name
value: 'workspace-{notebook-name}'
size:
# The Size of the Workspace Volume (in Gi)
value: '16Gi'
mountPath:
# The Path that the Workspace Volume will be mounted
value: /home/jovyan
accessModes:
# The Access Mode of the Workspace Volume
# Supported values: 'ReadWriteOnce', 'ReadWriteMany', 'ReadOnlyMany'
value: ReadWriteOnce
class:
# The StorageClass the PVC will use if type is New. Special values are:
# {none}: default StorageClass
# {empty}: empty string ""
value: '{none}'
mount: /home/jovyan
newPvc:
metadata:
name: '{notebook-name}-workspace'
spec:
resources:
requests:
storage: 16Gi
accessModes:
- ReadWriteOnce
readOnly: false
dataVolumes:
# List of additional Data Volumes to be attached to the user's Notebook
Expand Down
4 changes: 2 additions & 2 deletions kustomize/apps/jupyter-web-app/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
containers:
- name: jupyter-web-app
imagePullPolicy: IfNotPresent
image: k8scc01covidacr.azurecr.io/jupyter-apis:6d850d61d0862ff95e0d189a128d64b632843a33
image: k8scc01covidacr.azurecr.io/jupyter-apis:76e7415a48478fedc0b0b1c52506e1c475dd9798
env:
- name: UI
value: default
Expand Down Expand Up @@ -60,7 +60,7 @@ spec:
initContainers:
- name: copy-jwa-static-files
# Change for the image I just built
image: k8scc01covidacr.azurecr.io/jupyter-apis:6d850d61d0862ff95e0d189a128d64b632843a33
image: k8scc01covidacr.azurecr.io/jupyter-apis:76e7415a48478fedc0b0b1c52506e1c475dd9798
# image: k3d-s3proxy-registry:5050/s3proxy-dev:latest
command: [sh, -c]
args: ["cp -r /src/dist/frontend/* /etc/nginx/html/"]
Expand Down

0 comments on commit a32f0f9

Please sign in to comment.