mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-29 19:57:14 +00:00
5b1a2b20de
This commit introduces a boilerplate inspired by https://github.com/numerique-gouv/impress. The code has been cleaned to remove unnecessary Impress logic and dependencies. Changes made: - Removed Minio, WebRTC, and create bucket from the stack. - Removed the Next.js frontend (it will be replaced by Vite). - Cleaned up impress-specific backend logics. The whole stack remains functional: - All tests pass. - Linter checks pass. - Agent Connexion sources are already set-up. Why clear out the code? To adhere to the KISS principle, we aim to maintain a minimalist codebase. Cloning Impress allowed us to quickly inherit its code quality tools and deployment configurations for staging, pre-production, and production environments. What’s broken? - The tsclient is not functional anymore. - Some make commands need to be fixed. - Helm sources are outdated. - Naming across the project sources are inconsistent (impress, visio, etc.) - CI is not configured properly. This list might be incomplete. Let's grind it.
22 lines
743 B
YAML
22 lines
743 B
YAML
{{- $envVars := include "impress.common.env" (list . .Values.frontend) -}}
|
|
{{- $fullName := include "impress.frontend.fullname" . -}}
|
|
{{- $component := "frontend" -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ $fullName }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels:
|
|
{{- include "impress.common.labels" (list . $component) | nindent 4 }}
|
|
annotations:
|
|
{{- toYaml $.Values.frontend.service.annotations | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.frontend.service.type }}
|
|
ports:
|
|
- port: {{ .Values.frontend.service.port }}
|
|
targetPort: {{ .Values.frontend.service.targetPort }}
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "impress.common.selectorLabels" (list . $component) | nindent 4 }}
|