🚀(helm) build a minimalistic dev Helmfile

Please note that this Helmfile is uncomplete, it lacks services as
redis, celery, mail ... which are declared in the Docker Compose file
but not yet used in development and production images.

Thus, to run the Desk Helm chart, we only add a postgres database to run the
Django backend server, and apply migrations.

For now, this Helmfile is quite hard to test in dev environment, because the
frontend redirects automatically to the SSO login page. We cannot really
assess if backend and frontend are working properly. We might adjust some
configurations after the first deployment in stagging.

(We are a bit in rush, to respect the current sprint deadline.)

Development values points https://desk.127.0.0.1.nip.io URL. Please note that
the frontend image for now has been built with this URL for the backend address.
Meaning that we either need to rebuild and publish a frontend image with the
staging URL when deploying the project, or enhance our frontend image, to pass
the backend URL at runtime.
This commit is contained in:
Lebaud Antoine
2024-03-14 18:11:06 +01:00
committed by aleb_the_flash
parent bbd8e1b48d
commit a8a001e1e4
2 changed files with 78 additions and 0 deletions

31
src/helm/helmfile.yaml Normal file
View File

@@ -0,0 +1,31 @@
repositories:
- name: bitnami
url: registry-1.docker.io/bitnamicharts
oci: true
releases:
- name: postgres
namespace: desk
chart: bitnami/postgresql
version: 13.1.5
values:
- auth:
username: dinum
password: pass
database: people
- tls:
enabled: true
autoGenerated: true
- name: desk
version: {{ .Values.version }}
namespace: desk
chart: ./desk
values:
- env.d/{{ .Environment.Name }}/values.desk.yaml
environments:
dev:
values:
- version: 0.0.1