👷(helm) command createsuperuser
We need a superuser in the Django application, to have access to the admin part. This commit create a superuser on the pods.
This commit is contained in:
@@ -57,6 +57,13 @@ backend:
|
||||
- "people.wsgi:application"
|
||||
- "--reload"
|
||||
|
||||
createsuperuser:
|
||||
command:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
- python manage.py createsuperuser --admin_email admin@example.com --password admin
|
||||
restartPolicy: Never
|
||||
|
||||
frontend:
|
||||
envVars:
|
||||
PORT: 8080
|
||||
|
||||
Reference in New Issue
Block a user