fix: Handle artisan storage:link at k8s deployment level
This commit is contained in:
parent
8280ee5458
commit
695b2b766c
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,11 @@ spec:
|
|||
containers:
|
||||
- name: ${CI_PROJECT_PATH_SLUG}-container
|
||||
image: $IMAGE_TAG
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
php artisan storage:link || true
|
||||
exec apache2-foreground
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: ${CI_PROJECT_PATH_SLUG}-config-map
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue