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.
|
|
|
|
|
|
|
|
|
|
# ── 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
|
|
|
|
|
---
|
|
|
|
|
# ── 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
|
|
|
|
|
scope: openid
|
|
|
|
|
tokenEndpointAuthMethod: client_secret_basic
|
|
|
|
|
secretName: oidc-hive
|
2026-03-18 18:36:05 +00:00
|
|
|
---
|
|
|
|
|
# ── Calendars ────────────────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: calendars
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Calendars
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
|
|
|
|
- https://cal.DOMAIN_SUFFIX/api/v1.0/callback/
|
|
|
|
|
postLogoutRedirectUris:
|
|
|
|
|
- https://cal.DOMAIN_SUFFIX/api/v1.0/logout-callback/
|
|
|
|
|
tokenEndpointAuthMethod: client_secret_post
|
|
|
|
|
secretName: oidc-calendars
|
|
|
|
|
skipConsent: true
|
2026-03-20 13:41:54 +00:00
|
|
|
---
|
|
|
|
|
# ── Projects (Kanban) ──────────────────────────────────────────────────────
|
|
|
|
|
apiVersion: hydra.ory.sh/v1alpha1
|
|
|
|
|
kind: OAuth2Client
|
|
|
|
|
metadata:
|
|
|
|
|
name: projects
|
|
|
|
|
namespace: lasuite
|
|
|
|
|
spec:
|
|
|
|
|
clientName: Projects
|
|
|
|
|
grantTypes:
|
|
|
|
|
- authorization_code
|
|
|
|
|
- refresh_token
|
|
|
|
|
responseTypes:
|
|
|
|
|
- code
|
|
|
|
|
scope: openid email profile
|
|
|
|
|
redirectUris:
|
|
|
|
|
- https://projects.DOMAIN_SUFFIX/oidc-callback
|
|
|
|
|
tokenEndpointAuthMethod: client_secret_basic
|
|
|
|
|
secretName: oidc-projects
|
|
|
|
|
skipConsent: true
|