diff options
| author | 2021-01-09 15:50:03 -0800 | |
|---|---|---|
| committer | 2021-01-09 16:29:57 -0800 | |
| commit | 89f7185b419f15e13d33ed45e0f0a7bfc1cf56e0 (patch) | |
| tree | 313be01e058785ad7c86e2e0b00dce514036412d /deployment.yaml | |
| parent | Install exposed packages separately during deployment (diff) | |
Add a Docker volume for the user base
Diffstat (limited to '')
| -rw-r--r-- | deployment.yaml | 7 | 
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  |