feat(zitadel): full-fidelity provisioning + app deploy ergonomics #338

Merged
johnride merged 2 commits from feat/zitadel-full-provisioning into master 2026-06-23 02:25:46 +00:00

2 Commits

Author SHA1 Message Date
1e895d7c83 docs(roadmap): defer tenant application monitoring; capture design tension
All checks were successful
Run Check Script / check (pull_request) Successful in 2m24s
Lightweight, cluster-config-aware app monitoring: attach to a cluster stack vs.
provision a tenant-local one, so tenants don't each duplicate cluster-level
Prometheus data while staying self-contained. Audits the four overlapping
backends (none deprecated yet — pending the model decision).
2026-06-22 22:25:09 -04:00
8de61859b4 feat(zitadel): full-fidelity provisioning + app deploy ergonomics
All checks were successful
Run Check Script / check (pull_request) Successful in 2m32s
Extend the zitadel module and harmony_app so an app deploy crate can stand up
and fully provision a live Zitadel, and deploy a compose app, on autoprovisioned
k3d or a remote tenant.

- ZitadelSetupScore: human users, org/instance memberships (ORG_OWNER,
  IAM_LOGIN_CLIENT), machine client-secret minting, and a self-established
  port-forward so the management API is reachable on k3d (no ingress).
- ZitadelCredentialsExportScore: publish provisioned project id / client ids /
  client secret / machine key into a ConfigMap + Secret for apps to reference.
- harmony_app: AppContext autoprovision mode + K8sAnywhereConfig::local_k3d();
  import_to_k3d ensures the cluster exists (fixes ship ordering); SecretFileMount
  chart support to mount a secret as a file.
2026-06-22 22:02:34 -04:00