...
- Create superuser
kubectl exec -it prozorro-<env>-survey-api-<...> -c prozorro-<env>-survey-api -- bash
DJANGO_SUPERUSER_PASSWORD=<STRONG_PASSWORD> DJANGO_SUPERUSER_USERNAME=superuser_ss_<env> DJANGO_SUPERUSER_EMAIL=superuser@prozorro.sale python manage.py createsuperuser --no-input
- Create default survey and set it in configmap
kubectl exec -it prozorro-<env>-survey-api-<...> -c prozorro-<env>-survey-api -- bash
python manage.py shell --command="from survey.forms.models import Site; out = Site.objects.create(name='prozorro-auction', is_published=False, reshow_enabled=False); print(out.id)"
- copy id and set it as
survey-id
inprozorro-<env>-auction-survey-id-config
- Rollout restart
prozorro-<env>-auction-frontend