Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(feature) support annotations in deployment to handle external secrets

lebaudantoine1f23bbf96e12
diff --git a/src/helm/meet/README.md b/src/helm/meet/README.md
index eae65627..97d9a0f8 100644
--- a/src/helm/meet/README.md
+++ b/src/helm/meet/README.md
@@ -37,6 +37,7 @@
| Name | Description | Value |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------- |
+| `backend.dpAnnotations` | Annotations to add to the backend Deployment | `{}` |
| `backend.command` | Override the backend container command | `[]` |
| `backend.args` | Override the backend container args | `[]` |
| `backend.replicas` | Amount of backend replicas | `3` |
@@ -87,6 +88,7 @@
| `frontend.image.repository` | Repository to use to pull meet's frontend container image | `lasuite/meet-frontend` |
| `frontend.image.tag` | meet's frontend container tag | `latest` |
| `frontend.image.pullPolicy` | frontend container image pull policy | `IfNotPresent` |
+| `frontend.dpAnnotations` | Annotations to add to the frontend Deployment | `{}` |
| `frontend.command` | Override the frontend container command | `[]` |
| `frontend.args` | Override the frontend container args | `[]` |
| `frontend.replicas` | Amount of frontend replicas | `3` |
@@ -163,6 +165,7 @@
| Name | Description | Value |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------ |
+| `summary.dpAnnotations` | Annotations to add to the summary Deployment | `{}` |
| `summary.command` | Override the summary container command | `[]` |
| `summary.args` | Override the summary container args | `[]` |
| `summary.replicas` | Amount of summary replicas | `1` |
@@ -208,6 +211,7 @@
| Name | Description | Value |
| ---------------------------------------------------- | --------------------------------------------------------------------------------- | ----------- |
+| `celery.dpAnnotations` | Annotations to add to the celery Deployment | `{}` |
| `celery.command` | Override the celery container command | `[]` |
| `celery.args` | Override the celery container args | `[]` |
| `celery.replicas` | Amount of celery replicas | `1` |
diff --git a/src/helm/meet/templates/backend_deployment.yaml b/src/helm/meet/templates/backend_deployment.yaml
index 7990e834..77e5aef0 100644
--- a/src/helm/meet/templates/backend_deployment.yaml
+++ b/src/helm/meet/templates/backend_deployment.yaml
@@ -5,6 +5,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $fullName }}
+ annotations:
+ {{- with .Values.backend.dpAnnotations }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
diff --git a/src/helm/meet/templates/celery_deployment.yaml b/src/helm/meet/templates/celery_deployment.yaml
index 99de5f25..ac151774 100644
--- a/src/helm/meet/templates/celery_deployment.yaml
+++ b/src/helm/meet/templates/celery_deployment.yaml
@@ -5,6 +5,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $fullName }}
+ annotations:
+ {{- with .Values.celery.dpAnnotations }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
diff --git a/src/helm/meet/templates/frontend_deployment.yaml b/src/helm/meet/templates/frontend_deployment.yaml
index 2c3e2d22..b51107c5 100644
--- a/src/helm/meet/templates/frontend_deployment.yaml
+++ b/src/helm/meet/templates/frontend_deployment.yaml
@@ -5,6 +5,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $fullName }}
+ annotations:
+ {{- with .Values.frontend.dpAnnotations }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
diff --git a/src/helm/meet/templates/summary_deployment.yaml b/src/helm/meet/templates/summary_deployment.yaml
index 0add9e32..acfbe2ea 100644
--- a/src/helm/meet/templates/summary_deployment.yaml
+++ b/src/helm/meet/templates/summary_deployment.yaml
@@ -5,6 +5,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $fullName }}
+ annotations:
+ {{- with .Values.summary.dpAnnotations }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "meet.common.labels" (list . $component) | nindent 4 }}
diff --git a/src/helm/meet/values.yaml b/src/helm/meet/values.yaml
index ee9643ef..e55573ed 100644
--- a/src/helm/meet/values.yaml
+++ b/src/helm/meet/values.yaml
@@ -73,6 +73,8 @@ ingressAdmin:
## @section backend
backend:
+ ## @param backend.dpAnnotations Annotations to add to the backend Deployment
+ dpAnnotations: {}
## @param backend.command Override the backend container command
command: []
@@ -194,6 +196,9 @@ frontend:
pullPolicy: IfNotPresent
tag: "latest"
+ ## @param frontend.dpAnnotations Annotations to add to the frontend Deployment
+ dpAnnotations: {}
+
## @param frontend.command Override the frontend container command
command: []
@@ -347,6 +352,9 @@ posthog:
summary:
+ ## @param summary.dpAnnotations Annotations to add to the summary Deployment
+ dpAnnotations: {}
+
## @param summary.command Override the summary container command
command: []
@@ -439,6 +447,8 @@ summary:
## @section celery
celery:
+ ## @param celery.dpAnnotations Annotations to add to the celery Deployment
+ dpAnnotations: {}
## @param celery.command Override the celery container command
command: []