Execute createsuperuser only when previous cmd was successful
This commit is contained in:
parent
3b17a88d6d
commit
e9755a6b3f
1 changed files with 1 additions and 2 deletions
|
@ -22,8 +22,7 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
command:
|
command:
|
||||||
- python manage.py
|
- python manage.py && python manage.py createsuperuser
|
||||||
- python manage.py createsuperuser
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: taiga-static
|
- name: taiga-static
|
||||||
mountPath: /taiga-back/static
|
mountPath: /taiga-back/static
|
||||||
|
|
Loading…
Reference in a new issue