2i2c-org / unnamed-thingity-thing

https://2i2c.org/unnamed-thingity-thing/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Create a helm chart for this project #11

Closed yuvipanda closed 4 weeks ago

yuvipanda commented 1 month ago

We wanna deploy this project with a helm chart. This task tracks creation of the helm chart. Publishing and CI will be handled separately.

Components

This helm chart primarily needs:

  1. A Deployment that runs the web service.
  2. An initContainer for the deployment that runs python manage.py migrate, to create the database appropriately
  3. A PVC that gets automatically bound to a PV, to store the database. This must be mounted in (1) appropriately.
  4. A Service to direct traffic into the Deployment
  5. An Ingress to direct traffic into the Service.

1, 4, 5 are automatically provided by the helm create command, and (2, 3) will need to be added.

Definition of Done