This commit is contained in:
parent
aa07c3d229
commit
7200d50530
@ -21,8 +21,16 @@ spec:
|
||||
env:
|
||||
- name: FRONTEND_URL
|
||||
value: https://portfolio-host.com
|
||||
|
||||
volumeMounts:
|
||||
- name: ssh-key
|
||||
mountPath: /root/.ssh
|
||||
readOnly: true
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["php", "artisan", "migrate", "--force"]
|
||||
volumes:
|
||||
- name: ssh-key
|
||||
secret:
|
||||
secretName: ansible-ssh-key
|
||||
defaultMode: 0400
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user