Prerequirements:

  1. Setup postgresql user password. Create k8s secret survey-postgres
    kubectl -n $NS create secret generic survey-postgres --from-literal=postgresql-password=$PSQL_PSWD --from-literal=postgresql-postgres-password=$PSQL_PSWD
  2. Generate django secret-key. Create k8s secret survey-secrets key secret-key
  3. Generate survey cookie salt: secret survey-secrets key cookie-salt
  4. Create default configmap prozorro-<env>-auction-survey-id-config

After survey app deployed

  1. Create superuser
  2. Create default survey and set it in configmap
  3. Rollout restart prozorro-<env>-auction-frontend