Skip to content

Define and enforce CNPG version compatibility for BYO mode #380

@WentingWu666666

Description

@WentingWu666666

Context

PR #379 introduced a toggle that lets users opt out of the bundled CloudNative-PG installation and bring their own (BYO mode). Today, when users enable BYO, the DocumentDB operator runs against whatever CNPG version they already have installed which could be older or newer than what we test against.

There is currently no declared supported CNPG version range, no runtime detection, and no enforcement. Out-of-range combinations will likely fail in subtle ways at runtime (silent backup skips, replication issues, restore problems) that look like DocumentDB operator bugs but are actually version mismatches.

Goal

Make the BYO compatibility contract explicit, testable, and enforceable before BYO is recommended in user-facing documentation.

Out of scope

  • Defining the specific implementation open to the assignee's design.
  • Supporting every CNPG version that ever existed. The point is a clear, narrow, well-tested range.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update go code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions