feat(lasuite): deploy La Suite Docs (impress)
Adds the impress Helm chart (suitenumerique/docs, v4.5.0) to the lasuite
namespace with full Pingora routing, VSO secrets, and local overlay
resource tuning.
Routing (pingora-config.yaml):
- docs.* frontend -> docs-frontend:80 (nginx, static Next.js export)
- /api/* and /admin/* -> docs-backend:80 (Django/uvicorn)
- /collaboration/ws/* -> docs-y-provider:4444 (Hocuspocus WebSocket)
- integration.* -> integration:80 (La Gaufre hub, same file)
Secrets (vault-secrets.yaml):
- VaultDynamicSecret docs-db-credentials (DB engine, static role)
- VaultStaticSecret docs-django-secret (DJANGO_SECRET_KEY)
- VaultStaticSecret docs-collaboration-secret (y-provider shared secret)
OIDC client (oidc-clients.yaml):
- Fix redirect_uri from /oidc/callback/ to /api/v1.0/callback/ -- impress
mounts all OIDC URLs under api/{API_VERSION}/ via lasuite.oidc_login,
same pattern as people.
Local overlay (values-resources.yaml):
- docs-backend: 512Mi limit, WEB_CONCURRENCY=2 (4 uvicorn workers
exceeded 384Mi at startup on the arm64 Lima VM)
- docs-celery-worker: 384Mi limit, CELERY_WORKER_CONCURRENCY=2
- docs-y-provider: 256Mi limit
- seaweedfs-filer: raised from 256Mi to 512Mi (OOMKilled during 188MB
multipart S3 upload of impress-y-provider image layer)
Local overlay (kustomization.yaml):
- Image mirrors for impress-backend, impress-frontend, impress-y-provider
(amd64-only images retagged to Gitea via cmd_mirror before deploy)
2026-03-03 14:30:45 +00:00
|
|
|
# La Suite Numérique — Docs (impress chart).
|
|
|
|
|
# Env vars use the chart's dict-based envVars schema:
|
|
|
|
|
# string value → rendered as env.value
|
|
|
|
|
# map value → rendered as env.valueFrom (configMapKeyRef / secretKeyRef)
|
|
|
|
|
# DOMAIN_SUFFIX is substituted by sed at deploy time.
|
|
|
|
|
#
|
|
|
|
|
# Required secrets (created by seed script):
|
|
|
|
|
# oidc-docs — CLIENT_ID, CLIENT_SECRET (created by Hydra Maester)
|
|
|
|
|
# docs-db-credentials — password (VaultDynamicSecret, DB engine)
|
|
|
|
|
# docs-django-secret — DJANGO_SECRET_KEY (VaultStaticSecret)
|
|
|
|
|
# seaweedfs-s3-credentials — S3_ACCESS_KEY, S3_SECRET_KEY (shared)
|
|
|
|
|
|
|
|
|
|
fullnameOverride: docs
|
|
|
|
|
|
|
|
|
|
backend:
|
|
|
|
|
createsuperuser:
|
2026-03-03 18:12:38 +00:00
|
|
|
# No superuser — users authenticate via OIDC.
|
|
|
|
|
# The chart always renders this Job; override command so it exits 0.
|
|
|
|
|
command: ["true"]
|
feat(lasuite): deploy La Suite Docs (impress)
Adds the impress Helm chart (suitenumerique/docs, v4.5.0) to the lasuite
namespace with full Pingora routing, VSO secrets, and local overlay
resource tuning.
Routing (pingora-config.yaml):
- docs.* frontend -> docs-frontend:80 (nginx, static Next.js export)
- /api/* and /admin/* -> docs-backend:80 (Django/uvicorn)
- /collaboration/ws/* -> docs-y-provider:4444 (Hocuspocus WebSocket)
- integration.* -> integration:80 (La Gaufre hub, same file)
Secrets (vault-secrets.yaml):
- VaultDynamicSecret docs-db-credentials (DB engine, static role)
- VaultStaticSecret docs-django-secret (DJANGO_SECRET_KEY)
- VaultStaticSecret docs-collaboration-secret (y-provider shared secret)
OIDC client (oidc-clients.yaml):
- Fix redirect_uri from /oidc/callback/ to /api/v1.0/callback/ -- impress
mounts all OIDC URLs under api/{API_VERSION}/ via lasuite.oidc_login,
same pattern as people.
Local overlay (values-resources.yaml):
- docs-backend: 512Mi limit, WEB_CONCURRENCY=2 (4 uvicorn workers
exceeded 384Mi at startup on the arm64 Lima VM)
- docs-celery-worker: 384Mi limit, CELERY_WORKER_CONCURRENCY=2
- docs-y-provider: 256Mi limit
- seaweedfs-filer: raised from 256Mi to 512Mi (OOMKilled during 188MB
multipart S3 upload of impress-y-provider image layer)
Local overlay (kustomization.yaml):
- Image mirrors for impress-backend, impress-frontend, impress-y-provider
(amd64-only images retagged to Gitea via cmd_mirror before deploy)
2026-03-03 14:30:45 +00:00
|
|
|
|
|
|
|
|
envVars: &backendEnvVars
|
|
|
|
|
# ── Database ──────────────────────────────────────────────────────────────
|
|
|
|
|
DB_NAME: docs_db
|
|
|
|
|
DB_USER: docs
|
|
|
|
|
DB_HOST:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-postgres
|
|
|
|
|
key: DB_HOST
|
|
|
|
|
DB_PORT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-postgres
|
|
|
|
|
key: DB_PORT
|
|
|
|
|
DB_ENGINE:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-postgres
|
|
|
|
|
key: DB_ENGINE
|
|
|
|
|
DB_PASSWORD:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: docs-db-credentials
|
|
|
|
|
key: password
|
|
|
|
|
|
|
|
|
|
# ── Redis / Celery ────────────────────────────────────────────────────────
|
|
|
|
|
REDIS_URL:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-valkey
|
|
|
|
|
key: REDIS_URL
|
|
|
|
|
CELERY_BROKER_URL:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-valkey
|
|
|
|
|
key: CELERY_BROKER_URL
|
|
|
|
|
|
|
|
|
|
# ── S3 ────────────────────────────────────────────────────────────────────
|
|
|
|
|
AWS_STORAGE_BUCKET_NAME: sunbeam-docs
|
|
|
|
|
AWS_S3_ENDPOINT_URL:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-s3
|
|
|
|
|
key: AWS_S3_ENDPOINT_URL
|
|
|
|
|
AWS_S3_REGION_NAME:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-s3
|
|
|
|
|
key: AWS_S3_REGION_NAME
|
|
|
|
|
AWS_DEFAULT_ACL:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-s3
|
|
|
|
|
key: AWS_DEFAULT_ACL
|
|
|
|
|
AWS_ACCESS_KEY_ID:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: seaweedfs-s3-credentials
|
|
|
|
|
key: S3_ACCESS_KEY
|
|
|
|
|
AWS_SECRET_ACCESS_KEY:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: seaweedfs-s3-credentials
|
|
|
|
|
key: S3_SECRET_KEY
|
|
|
|
|
|
|
|
|
|
# ── OIDC (Hydra) ──────────────────────────────────────────────────────────
|
|
|
|
|
OIDC_RP_CLIENT_ID:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: oidc-docs
|
|
|
|
|
key: CLIENT_ID
|
|
|
|
|
OIDC_RP_CLIENT_SECRET:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: oidc-docs
|
|
|
|
|
key: CLIENT_SECRET
|
|
|
|
|
OIDC_RP_SIGN_ALGO:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_RP_SIGN_ALGO
|
|
|
|
|
OIDC_RP_SCOPES:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_RP_SCOPES
|
|
|
|
|
OIDC_OP_JWKS_ENDPOINT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_OP_JWKS_ENDPOINT
|
|
|
|
|
OIDC_OP_AUTHORIZATION_ENDPOINT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_OP_AUTHORIZATION_ENDPOINT
|
|
|
|
|
OIDC_OP_TOKEN_ENDPOINT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_OP_TOKEN_ENDPOINT
|
|
|
|
|
OIDC_OP_USER_ENDPOINT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_OP_USER_ENDPOINT
|
|
|
|
|
OIDC_OP_LOGOUT_ENDPOINT:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_OP_LOGOUT_ENDPOINT
|
|
|
|
|
OIDC_VERIFY_SSL:
|
|
|
|
|
configMapKeyRef:
|
|
|
|
|
name: lasuite-oidc-provider
|
|
|
|
|
key: OIDC_VERIFY_SSL
|
|
|
|
|
|
|
|
|
|
# ── Django ────────────────────────────────────────────────────────────────
|
|
|
|
|
DJANGO_SECRET_KEY:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: docs-django-secret
|
|
|
|
|
key: DJANGO_SECRET_KEY
|
2026-03-03 18:07:08 +00:00
|
|
|
DJANGO_CONFIGURATION: Production
|
feat(infra): Meet integration, La Suite theming, Pingora SSH + meet routes
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.
2026-03-06 12:08:21 +00:00
|
|
|
FRONTEND_THEME: estudio
|
2026-03-03 18:07:08 +00:00
|
|
|
ALLOWED_HOSTS: docs.DOMAIN_SUFFIX
|
|
|
|
|
DJANGO_ALLOWED_HOSTS: docs.DOMAIN_SUFFIX
|
|
|
|
|
DJANGO_CSRF_TRUSTED_ORIGINS: https://docs.DOMAIN_SUFFIX
|
|
|
|
|
LOGIN_REDIRECT_URL: /
|
|
|
|
|
LOGOUT_REDIRECT_URL: /
|
|
|
|
|
FRONTEND_HOMEPAGE_FEATURE_ENABLED: "false"
|
|
|
|
|
# Low cache timeout so theme changes propagate without pod restarts.
|
|
|
|
|
THEME_CUSTOMIZATION_CACHE_TIMEOUT: "30"
|
|
|
|
|
# 1h sessions: silent OIDC re-auth via Kratos keeps users logged in.
|
|
|
|
|
# Lockout window: disabled identity cannot re-auth within 1h of expiry.
|
|
|
|
|
SESSION_COOKIE_AGE: "3600"
|
feat(lasuite): deploy La Suite Docs (impress)
Adds the impress Helm chart (suitenumerique/docs, v4.5.0) to the lasuite
namespace with full Pingora routing, VSO secrets, and local overlay
resource tuning.
Routing (pingora-config.yaml):
- docs.* frontend -> docs-frontend:80 (nginx, static Next.js export)
- /api/* and /admin/* -> docs-backend:80 (Django/uvicorn)
- /collaboration/ws/* -> docs-y-provider:4444 (Hocuspocus WebSocket)
- integration.* -> integration:80 (La Gaufre hub, same file)
Secrets (vault-secrets.yaml):
- VaultDynamicSecret docs-db-credentials (DB engine, static role)
- VaultStaticSecret docs-django-secret (DJANGO_SECRET_KEY)
- VaultStaticSecret docs-collaboration-secret (y-provider shared secret)
OIDC client (oidc-clients.yaml):
- Fix redirect_uri from /oidc/callback/ to /api/v1.0/callback/ -- impress
mounts all OIDC URLs under api/{API_VERSION}/ via lasuite.oidc_login,
same pattern as people.
Local overlay (values-resources.yaml):
- docs-backend: 512Mi limit, WEB_CONCURRENCY=2 (4 uvicorn workers
exceeded 384Mi at startup on the arm64 Lima VM)
- docs-celery-worker: 384Mi limit, CELERY_WORKER_CONCURRENCY=2
- docs-y-provider: 256Mi limit
- seaweedfs-filer: raised from 256Mi to 512Mi (OOMKilled during 188MB
multipart S3 upload of impress-y-provider image layer)
Local overlay (kustomization.yaml):
- Image mirrors for impress-backend, impress-frontend, impress-y-provider
(amd64-only images retagged to Gitea via cmd_mirror before deploy)
2026-03-03 14:30:45 +00:00
|
|
|
|
|
|
|
|
# ── Y-Provider ────────────────────────────────────────────────────────────
|
|
|
|
|
# Shared secret for backend ↔ y-provider auth.
|
|
|
|
|
COLLABORATION_SERVER_SECRET:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: docs-collaboration-secret
|
|
|
|
|
key: secret
|
|
|
|
|
COLLABORATION_SERVER_URL: http://docs-y-provider.lasuite.svc.cluster.local:4444
|
|
|
|
|
|
2026-03-03 18:07:08 +00:00
|
|
|
themeCustomization:
|
|
|
|
|
enabled: true
|
|
|
|
|
# La Gaufre v2: point at our self-hosted integration service.
|
|
|
|
|
# DOMAIN_SUFFIX is substituted by kustomize_build at deploy time.
|
|
|
|
|
file_content:
|
|
|
|
|
header:
|
|
|
|
|
logo: {}
|
|
|
|
|
icon:
|
feat(infra): Meet integration, La Suite theming, Pingora SSH + meet routes
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.
2026-03-06 12:08:21 +00:00
|
|
|
src: "https://integration.DOMAIN_SUFFIX/logos/docs.svg?v=2"
|
2026-03-03 18:07:08 +00:00
|
|
|
style:
|
|
|
|
|
width: "32px"
|
|
|
|
|
height: "auto"
|
|
|
|
|
alt: ""
|
|
|
|
|
withTitle: true
|
feat: La Suite email/messages, buildkitd, monitoring, vault and storage updates
- Add Messages (email) service: backend, frontend, MTA in/out, MPA, SOCKS
proxy, worker, DKIM config, and theme customization
- Add Collabora deployment for document collaboration
- Add Drive frontend nginx config and values
- Add buildkitd namespace for in-cluster container builds
- Add SeaweedFS remote sync and additional S3 buckets
- Update vault secrets across namespaces (devtools, lasuite, media,
monitoring, ory, storage) with expanded credential management
- Update monitoring: rename grafana→metrics OAuth2Client, add Prometheus
remote write and additional scrape configs
- Update local/production overlays with resource patches
- Remove stale login-ui resource patch from production overlay
2026-03-10 19:00:57 +00:00
|
|
|
css_url: "https://integration.DOMAIN_SUFFIX/api/v2/theme.css"
|
2026-03-03 18:07:08 +00:00
|
|
|
waffle:
|
|
|
|
|
apiUrl: "https://integration.DOMAIN_SUFFIX/api/v2/services.json"
|
|
|
|
|
widgetPath: "https://integration.DOMAIN_SUFFIX/api/v2/lagaufre.js"
|
|
|
|
|
label: "O Estúdio"
|
|
|
|
|
closeLabel: "Fechar"
|
|
|
|
|
newWindowLabelSuffix: " · nova janela"
|
|
|
|
|
|
feat(lasuite): deploy La Suite Docs (impress)
Adds the impress Helm chart (suitenumerique/docs, v4.5.0) to the lasuite
namespace with full Pingora routing, VSO secrets, and local overlay
resource tuning.
Routing (pingora-config.yaml):
- docs.* frontend -> docs-frontend:80 (nginx, static Next.js export)
- /api/* and /admin/* -> docs-backend:80 (Django/uvicorn)
- /collaboration/ws/* -> docs-y-provider:4444 (Hocuspocus WebSocket)
- integration.* -> integration:80 (La Gaufre hub, same file)
Secrets (vault-secrets.yaml):
- VaultDynamicSecret docs-db-credentials (DB engine, static role)
- VaultStaticSecret docs-django-secret (DJANGO_SECRET_KEY)
- VaultStaticSecret docs-collaboration-secret (y-provider shared secret)
OIDC client (oidc-clients.yaml):
- Fix redirect_uri from /oidc/callback/ to /api/v1.0/callback/ -- impress
mounts all OIDC URLs under api/{API_VERSION}/ via lasuite.oidc_login,
same pattern as people.
Local overlay (values-resources.yaml):
- docs-backend: 512Mi limit, WEB_CONCURRENCY=2 (4 uvicorn workers
exceeded 384Mi at startup on the arm64 Lima VM)
- docs-celery-worker: 384Mi limit, CELERY_WORKER_CONCURRENCY=2
- docs-y-provider: 256Mi limit
- seaweedfs-filer: raised from 256Mi to 512Mi (OOMKilled during 188MB
multipart S3 upload of impress-y-provider image layer)
Local overlay (kustomization.yaml):
- Image mirrors for impress-backend, impress-frontend, impress-y-provider
(amd64-only images retagged to Gitea via cmd_mirror before deploy)
2026-03-03 14:30:45 +00:00
|
|
|
frontend:
|
|
|
|
|
envVars:
|
|
|
|
|
NEXT_PUBLIC_API_URL: https://docs.DOMAIN_SUFFIX
|
|
|
|
|
NEXT_PUBLIC_COLLABORATION_WS_URL: wss://docs.DOMAIN_SUFFIX/collaboration/ws/
|
|
|
|
|
|
|
|
|
|
yProvider:
|
|
|
|
|
envVars:
|
|
|
|
|
# Shared secret so y-provider can verify requests from the backend.
|
|
|
|
|
COLLABORATION_SERVER_SECRET:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: docs-collaboration-secret
|
|
|
|
|
key: secret
|
|
|
|
|
# Impress backend URL for document access verification.
|
|
|
|
|
APP_URL: http://docs-backend.lasuite.svc.cluster.local:80
|
|
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
ingressCollaborationWS:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
ingressAdmin:
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
ingressMedia:
|
|
|
|
|
enabled: false
|