lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
# HydraOAuth2Client CRDs for La Suite Numérique apps.
|
|
|
|
|
# Hydra Maester watches these and creates K8s Secrets (named by .spec.secretName)
|
|
|
|
|
# in the lasuite namespace with CLIENT_ID and CLIENT_SECRET keys.
|
|
|
|
|
# App pods reference those secrets for OIDC_RP_CLIENT_ID/SECRET env vars.
|
|
|
|
|
# redirectUris contain DOMAIN_SUFFIX which is replaced by sed at deploy time.
|
|
|
|
|
|
|
|
|
|
# ── Docs ─────────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: docs
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Docs
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
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
|
|
|
- https://docs.DOMAIN_SUFFIX/api/v1.0/callback/
|
2026-03-03 18:07:08 +00:00
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://docs.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-docs
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── Drive ─────────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: drive
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Drive
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
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
|
|
|
- https://drive.DOMAIN_SUFFIX/api/v1.0/callback/
|
|
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://drive.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-drive
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── Meet ─────────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: meet
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Meet
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
2026-03-06 13:56:29 +00:00
|
|
|
- https://meet.DOMAIN_SUFFIX/api/v1.0/callback/
|
|
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://meet.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-meet
|
|
|
|
|
skipConsent: 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
|
|
|
# ── Conversations (chat) — replaced by Tuwunel in matrix namespace ───────────
|
|
|
|
|
# OAuth2Client for tuwunel is in base/matrix/hydra-oauth2client.yaml
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
---
|
|
|
|
|
# ── Messages (mail) ───────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: messages
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Mail
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
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
|
|
|
scope: openid email profile offline_access
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
redirectUris:
|
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
|
|
|
- https://mail.DOMAIN_SUFFIX/api/v1.0/callback/
|
|
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://mail.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-messages
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── People ────────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: people
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: People
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
2026-03-03 02:01:31 +00:00
|
|
|
- https://people.DOMAIN_SUFFIX/api/v1.0/callback/
|
2026-03-03 18:07:08 +00:00
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://people.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-people
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── Find ──────────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: find
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Find
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
|
|
|
|
- https://find.DOMAIN_SUFFIX/oidc/callback/
|
2026-03-03 11:31:28 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
secretName: oidc-find
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── Gitea (src) ───────────────────────────────────────────────────────────────
|
|
|
|
|
# Gitea reads OIDC credentials from its config, not K8s env vars.
|
|
|
|
|
# The secret (oidc-gitea) is created here for reference; manually configure
|
|
|
|
|
# Gitea admin with CLIENT_ID/CLIENT_SECRET from this secret.
|
|
|
|
|
# Provider name "hydra" must match the name configured in Gitea's OAuth2 settings.
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: gitea
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Gitea
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
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
|
|
|
- https://src.DOMAIN_SUFFIX/user/oauth2/Sunbeam/callback
|
lasuite: declarative pre-work for La Suite app deployments
- Add find user and find_db to postgres-cluster.yaml (11th database)
- Add sunbeam-messages-imports and sunbeam-people buckets to SeaweedFS
- Configure Hydra Maester with enabledNamespaces: [lasuite] so it can
create and update OAuth2Client secrets in the lasuite namespace
- Add find to Kratos allowed_return_urls
- Add shared ConfigMaps: lasuite-postgres, lasuite-valkey, lasuite-s3,
lasuite-oidc-provider — single source of truth for all app env vars
- Add HydraOAuth2Client CRDs for all nine La Suite apps (docs, drive,
meet, conversations, messages, people, find, gitea, hive); Maester
will create oidc-<app> secrets with CLIENT_ID and CLIENT_SECRET
2026-03-01 18:03:13 +00:00
|
|
|
tokenEndpointAuthMethod: client_secret_basic
|
|
|
|
|
secretName: oidc-gitea
|
|
|
|
|
skipConsent: true
|
|
|
|
|
---
|
|
|
|
|
# ── Hive (service account) ────────────────────────────────────────────────────
|
|
|
|
|
# Hive uses client_credentials to call Drive API on behalf of the sync service.
|
|
|
|
|
# No user consent or redirect required.
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: hive
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Hive
|
|
|
|
|
grantTypes:
|
|
|
|
|
- client_credentials
|
|
|
|
|
responseTypes:
|
|
|
|
|
- token
|
|
|
|
|
scope: openid
|
|
|
|
|
tokenEndpointAuthMethod: client_secret_basic
|
|
|
|
|
secretName: oidc-hive
|