boop
This commit is contained in:
parent
be23418024
commit
37d44cfcd7
1 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,13 @@ spec:
|
|||
- name: portal-pv
|
||||
persistentVolumeClaim:
|
||||
claimName: portal-pv-claim
|
||||
initContainers:
|
||||
- name: init-portal
|
||||
image: busybox:1.28
|
||||
command: ['sh', '-c', "mkdir -p /var/www/html/storage/app/public && mkdir -p /var/www/html/storage/framework/cache && mkdir -p /var/www/html/storage/framework/sessions && mkdir -p /var/www/html/storage/framework/testing && mkdir -p /var/www/html/storage/framework/views && chown -R www-data:www-data /var/www/html/storage"]
|
||||
volumeMounts:
|
||||
- mountPath: "/var/www/html/storage"
|
||||
name: portal-pv
|
||||
containers:
|
||||
- name: redis
|
||||
image: redis:5.0.4-alpine
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue