Django Superuser Creation using Helm
Creating the superuser of a Django-based application is usually done by running the command
manage.py createsuperuser
, hence it requires shell access. This makes sense as shell access
implies the person should also have admin privileges. However, shell access can be clunky
(think of how to run something in a container, kubectl get pods -n chris && kubectl exec -it -n chris <pod_name> python manage.py createsuperuser
...).
We would prefer a declarative approach.