aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-01-09 15:50:03 -0800
committerGravatar MarkKoz <[email protected]>2021-01-09 16:29:57 -0800
commit89f7185b419f15e13d33ed45e0f0a7bfc1cf56e0 (patch)
tree313be01e058785ad7c86e2e0b00dce514036412d /deployment.yaml
parentInstall exposed packages separately during deployment (diff)
Add a Docker volume for the user base
Diffstat (limited to 'deployment.yaml')
-rw-r--r--deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml
index a8c827f..2c2ea58 100644
--- a/deployment.yaml
+++ b/deployment.yaml
@@ -20,6 +20,9 @@ spec:
- containerPort: 8060
securityContext:
privileged: true
+ volumeMounts:
+ - name: snekbox-user-base-volume
+ mountPath: /snekbox/user_base
lifecycle:
postStart:
exec:
@@ -46,3 +49,7 @@ spec:
sympy~=1.6
toml~=0.10
yarl~=1.6
+ volumes:
+ - name: snekbox-user-base-volume
+ configMap:
+ name: snekbox-user-base