Meet: add backend/frontend/celery deployments and services, meet-config ConfigMap, nginx SPA config, VSO secrets (meet-db-credentials VDS, meet-django-secret and meet-livekit VSS). Wire oidc-meet OAuth2Client. La Suite overlay discipline: move people/docs frontend nginx ConfigMaps and patches from overlays/local to base so both environments share them. Remove values-ory.yaml (folded into base). Add docs-frontend nginx config with sub_filter theming. Add local gitea mkcert CA patch. Pingora: add [ssh] TCP passthrough block (port 22 → Gitea SSH pod) and split meet route into frontend default + backend paths for /api/, /admin/, /oidc/, /static/, /__. Remove now-unused values-pingora.yaml from production overlay (host ports moved to patch-pingora-hostport.yaml). Update both overlay kustomizations to reference all new resources and add meet-backend/meet-frontend image entries.
90 lines
2.2 KiB
YAML
90 lines
2.2 KiB
YAML
# La Gaufre integration service — O Estúdio app launcher (La Gaufre v2).
|
|
# Serves the lagaufre.js v2 widget, SVG logos, and the v2 services API.
|
|
# Apps load gaufre.js (via people-frontend sub_filter) which in turn initialises
|
|
# the v2 widget with the button already rendered by @gouvfr-lasuite/ui-kit.
|
|
#
|
|
# Image: src.DOMAIN_SUFFIX/studio/integration:latest
|
|
# Built from sunbeam/integration-service/ (context: sunbeam/ root)
|
|
# Baked in: lagaufre.js v2, official La Suite logos, custom logos, gaufre.js, nginx.conf
|
|
#
|
|
# ConfigMap: only services.json (v2 format) — the one thing that varies per env
|
|
# DOMAIN_SUFFIX substituted at deploy time.
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: integration-config
|
|
namespace: lasuite
|
|
data:
|
|
services.json: |
|
|
{
|
|
"services": [
|
|
{
|
|
"name": "Docs",
|
|
"url": "https://docs.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/docs.svg?v=2"
|
|
},
|
|
{
|
|
"name": "Reuniões",
|
|
"url": "https://meet.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/visio.svg?v=2"
|
|
},
|
|
{
|
|
"name": "Humans",
|
|
"url": "https://people.DOMAIN_SUFFIX",
|
|
"logo": "https://integration.DOMAIN_SUFFIX/logos/people.svg?v=2"
|
|
}
|
|
]
|
|
}
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: integration
|
|
namespace: lasuite
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: integration
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: integration
|
|
spec:
|
|
containers:
|
|
- name: integration
|
|
image: integration
|
|
ports:
|
|
- name: http
|
|
containerPort: 80
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /etc/integration/services.json
|
|
subPath: services.json
|
|
resources:
|
|
limits:
|
|
memory: 32Mi
|
|
requests:
|
|
memory: 16Mi
|
|
cpu: 5m
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: integration-config
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: integration
|
|
namespace: lasuite
|
|
spec:
|
|
selector:
|
|
app: integration
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 80
|