feat/declarative-app-dx #337
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/declarative-app-dx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Profile {Local,Prod} supplies storage/replicas/rolling/TLS + publish target - publish split into build_images/push_to_registry/import_to_k3d behind PublishTarget - app_secrets applied inside ComposeAppScore (envFrom), no handrolled manifest (ADR-023) - PVC access mode derived from update strategy (RWX rolling, RWO recreate) — k3d-deployable - PublicEndpoint::from_compose dedups port extractionParses argv, resolves a context (required, no default per ADR-026 §1), calls the harmony_app verbs, renders. A per-app binary becomes: fn main() { app_main(MyApp) }..with(Monitoring::new().alert(receiver)) composes HelmPrometheusAlertingScore with a kube-state-metrics deployment-availability alert (kube_deployment_status_replicas_available{namespace} == 0, 5m) — no app-side /metrics or ServiceMonitor needed. Composition mirrors examples/monitoring (proven pattern); rule helper unit-tested. Live alert-firing validation needs kube-prometheus on the cluster. Addresses the downtime-rule intent (task #4).Adds ZitadelAppType::WebPkce { redirect_uris, post_logout_redirect_uris } — appType=USER_AGENT, authMethod=NONE (Authorization Code + PKCE, no client secret) — for React/SPA frontends. create/update refactored over shared create_oidc_app/update_oidc_config helpers (DRY). The PKCE body was validated against a live local Zitadel (Management API returned appId + clientId).