Skip to content

feat(webapp): stateful (CNPG-backed) WebApp shape in the KRO WebApp RGD #2523

Description

@devantler

🤖 Generated by the Daily AI Assistant

Part of #1932 / #1933. Follow-up child from the Tenant-abstraction ADR (docs/tenant-abstraction.md).

Problem

The KRO WebApp archetype covers stateless Deployment-backed apps only. Database-backed apps (e.g. wedding-db, a CNPG cluster) fall outside it, so those tenants can't use the WebApp abstraction for their full shape.

Proposed direction

Extend the WebApp RGD with an optional stateful/database shape (a CNPG Cluster), so the archetype covers database-backed workloads. Reuse the platform's existing CNPG conventions (storage class, backup, WFFC scheduling) verbatim; render-diff vs a current CNPG-backed app to prove parity. Likely decompose further once scoped — this is the epic-level child.

Rough size

M–L — new schema shape + RGD template + parity render-diff; decompose into a first small increment when picked up.

Acceptance criteria

  • WebApp schema supports an optional database shape that renders a CNPG Cluster matching current conventions.
  • A CNPG-backed app render-diffs clean vs its pre-change manifests.
  • Documented in TENANTS.md.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions