Skip to content

fix(OPENFRAM-007-13): CU-86akdypzw MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2 - #2350

Draft
flamingo[bot] wants to merge 1 commit into
mainfrom
ai-fix/openfram-007-13-4300f0b8-16dc4bdf
Draft

flamingo[bot] wants to merge 1 commit into
mainfrom
ai-fix/openfram-007-13-4300f0b8-16dc4bdf

Conversation

@flamingo

@flamingo flamingo Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Closes findings from rule OPENFRAM-007-13 — MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2.

Draft — this is a starting point, not a finished change. The fix required judgment, so read it before trusting it.

# Fix confidence Finding Location
1 🟢 95 high MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2 manifests/datasources/mongodb/templates/statefulset.yaml:1

What changed — and what was deliberately left — is explained per finding as inline review comments on the lines each finding touched.


Run: https://product-hub.flamingo.so/admin/code-review
Run id: 16dc4bdf-608c-4c65-84b9-63df756e4657

Merging this PR is recorded as acceptance of the rule that produced it;
closing it unmerged is recorded as rejection. Both feed rule health, so
closing a wrong suggestion is useful rather than merely tidy.

ClickUp task: CU-86akdypzw OpenFrame Kubernetes manifest hardening secondary (12 PRs)

@flamingo flamingo Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦩 What this fix changed, finding by finding

1 finding(s) fixed in this draft — 1 explained inline on the diff.

Comment on lines 5 to 11
spec:
serviceName: "mongodb"
replicas: 1
revisionHistoryLimit: 10
revisionHistoryLimit: 2
selector:
matchLabels:
app: mongodb

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦩 🔵 MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2

Changed revisionHistoryLimit: 10 to revisionHistoryLimit: 2 in the spec of the mongodb StatefulSet in manifests/datasources/mongodb/templates/statefulset.yaml, aligning it with the established org convention used by other workloads (kafka, zookeeper, debezium-connect, nats).

🤖 Prompt for AI agents
In manifests/datasources/mongodb/templates/statefulset.yaml around line 1, review and complete this code-review fix: MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2.
What the draft fix changed: Changed `revisionHistoryLimit: 10` to `revisionHistoryLimit: 2` in the `spec` of the `mongodb` StatefulSet in `manifests/datasources/mongodb/templates/statefulset.yaml`, aligning it with the established org convention used by other workloads (kafka, zookeeper, debezium-connect, nats).
Verify the change is correct and complete; do not refactor unrelated code.

fix confidence: 🟢 95 high — react 👍/👎 to teach the reviewer

@flamingo flamingo Bot changed the title fix(OPENFRAM-007-13): MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2 fix(OPENFRAM-007-13): CU-86akdypzw MongoDB StatefulSets use revisionHistoryLimit: 10 instead of the mandated 2 Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants