Skip to content

chore: add support for replicas for opensearch, redis, rabbitmq and postgres#223

Open
pratapalakshmi wants to merge 2 commits intochore/add/read_replica/enterprisefrom
chore/add/replicas/for/stateful/services
Open

chore: add support for replicas for opensearch, redis, rabbitmq and postgres#223
pratapalakshmi wants to merge 2 commits intochore/add/read_replica/enterprisefrom
chore/add/replicas/for/stateful/services

Conversation

@pratapalakshmi
Copy link
Copy Markdown
Collaborator

@pratapalakshmi pratapalakshmi commented Apr 30, 2026

Summary by CodeRabbit

  • New Features

    • Added PostgreSQL read-replica configuration support for distributed database reads and improved performance
    • Introduced configurable replica counts for stateful services (Redis, PostgreSQL, RabbitMQ, OpenSearch)
  • Chores

    • Helm chart version updated to 2.3.4

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: de2cb63a-5152-435c-b26c-4074bdafb44d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

The Helm chart version is incremented from 2.3.2 to 2.3.4. Configuration files are updated to support PostgreSQL read-replica settings and explicit replica counts for stateful services (Redis, PostgreSQL, RabbitMQ, OpenSearch), each defaulting to 1.

Changes

Cohort / File(s) Summary
Version Bump
charts/plane-enterprise/Chart.yaml
Helm chart version updated from 2.3.2 to 2.3.4.
Read Replica Support
charts/plane-enterprise/templates/config-secrets/app-env.yaml
Adds optional DATABASE_READ_REPLICA_URL secret and ENABLE_READ_REPLICA config flag, conditionally populated based on .Values.services.postgres.read_replica.enabled.
Stateful Service Replicas
charts/plane-enterprise/templates/workloads/opensearch.stateful.yaml, postgres.stateful.yaml, rabbitmq.stateful.yaml, redis.stateful.yaml
Each StatefulSet now explicitly defines replica count from .Values.services.[service].replicas, defaulting to 1 when unset.
Values Configuration
charts/plane-enterprise/values.yaml
Adds replicas: 1 configuration for redis, postgres, rabbitmq, and opensearch; introduces services.postgres.read_replica settings block with enabled and remote_url fields.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Hoppy times in Helm we see,
Replicas now set to three!
Well, to one, for scaling wise,
Read-replicas reach the skies,
Config hops on, version bumped with glee! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: add support for replicas for opensearch, redis, rabbitmq and postgres' clearly and accurately summarizes the main change across all modified files, which adds replica configuration support for four stateful services.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add/replicas/for/stateful/services

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pratapalakshmi pratapalakshmi changed the base branch from master to chore/add/read_replica/enterprise April 30, 2026 11:56
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.

1 participant