🔧(helm) adapt helm chart

Done:
- Rename all occurrences of "impress" to "meet".
- Update Agent Connect secrets credentials for the dev environment.
- Add new development secrets for LiveKit.
- Remove Minio from the dev stack (no cold storage required).
- Add LiveKit chart to the stack.
- Remove templates and values related to the WebSocket server.

The integration of LiveKit was inspired by an example from the "numerique-gouve/infrastructure" repo.
However, a notable issue persists with LiveKit's default chart: we are unable to override
the namespace, resulting in all LiveKit components running in the default namespace.

thx to @rouja for his help.
This commit is contained in:
antoine lebaud
2024-07-02 19:36:09 +02:00
parent d67934fbfa
commit af3ab37b53
25 changed files with 188 additions and 531 deletions

View File

@@ -2,6 +2,8 @@ repositories:
- name: bitnami
url: registry-1.docker.io/bitnamicharts
oci: true
- name: livekit
url: https://helm.livekit.io
releases:
- name: postgres
@@ -13,26 +15,11 @@ releases:
- auth:
username: dinum
password: pass
database: impress
database: meet
- tls:
enabled: true
autoGenerated: true
- name: minio
installed: {{ eq .Environment.Name "dev" | toYaml }}
namespace: {{ .Namespace }}
chart: bitnami/minio
version: 12.10.10
values:
- auth:
rootUser: impress
rootPassword: password
- provisioning:
enabled: true
buckets:
- name: impress-media-storage
versioning: true
- name: redis
installed: {{ eq .Environment.Name "dev" | toYaml }}
namespace: {{ .Namespace }}
@@ -50,12 +37,21 @@ releases:
secrets:
- env.d/{{ .Environment.Name }}/secrets.enc.yaml
- name: impress
- name: meet
version: {{ .Values.version }}
namespace: {{ .Namespace }}
chart: ./impress
chart: ./meet
values:
- env.d/{{ .Environment.Name }}/values.impress.yaml.gotmpl
- env.d/{{ .Environment.Name }}/values.meet.yaml.gotmpl
secrets:
- env.d/{{ .Environment.Name }}/secrets.enc.yaml
- name: livekit
installed: {{ eq .Environment.Name "dev" | toYaml }}
namespace: {{ .Namespace }}
chart: livekit/livekit-server
values:
- env.d/{{ .Environment.Name }}/values.livekit.yaml.gotmpl
secrets:
- env.d/{{ .Environment.Name }}/secrets.enc.yaml